Basic game logic implementation