the game logic for battlecats