game.js done mostly