Init commit

This commit is contained in:
asraelite 2018-03-01 23:38:22 +00:00
commit 0c5ad88981
8 changed files with 62 additions and 0 deletions

16
js/game.mjs Normal file
View file

@ -0,0 +1,16 @@
const game = {
state: {
room: 'menu',
paused: false
}
};
export function init() {
game.state.room = 'menu';
}
function tick() {
requestAnimationFrame(tick);
}