inital code rip from main.js to game.js