Game.js fleshed out