basic game logic added