game logic for level 1