added game state and basic movement constraints