hadean-old/src/index.ts

8 lines
184 B
TypeScript
Raw Normal View History

2021-06-14 22:03:55 -04:00
import { Game } from './Game.js';
import { render } from './UI.js';
2021-06-15 20:05:07 -04:00
const saveFile = process.argv[2];
const game = Game.create(saveFile || 'data/world01.json');
2021-06-14 22:03:55 -04:00
render(game);