Update game.js

remove player function