This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-05-23 17:38:54 -04:00
|
|
|
|
2021-05-23 20:35:48 -04:00
|
|
|
link counter;
|
|
|
|
|
link window;
|
|
|
|
|
|
|
|
|
|
async restore {
|
|
|
|
|
// process.stdout.write(typeof console._link + '\n');
|
|
|
|
|
console.log('~ Welcome to Vogue ~');
|
|
|
|
|
// process.stdout.write(JSON.stringify(console, null, 2))
|
|
|
|
|
counter ??= create('counter', {});
|
|
|
|
|
for(let i = 0; i < 10; i ++)
|
|
|
|
|
counter.increment();
|
|
|
|
|
// const choice = await console.choice('select a thing', ['a', 'b', 'c', 'd']);
|
|
|
|
|
|
|
|
|
|
console.log(counter.getCount());
|
|
|
|
|
|
|
|
|
|
// window ??= create('SDL.window', {});
|
|
|
|
|
|
|
|
|
|
// window.setScene()
|
|
|
|
|
|
|
|
|
|
// await counter.render();
|
|
|
|
|
|
|
|
|
|
sync();
|
2021-05-23 17:38:54 -04:00
|
|
|
}
|