game logic works

game logic works