Rework of game.js; add gameover redirect to player.js