Instructor: Trish Cornez


CS223 Assignment 8 Decision Making Prey vs. Predator

Predator Prey Game. This final game app must be uploaded to Moodle.

Build a turn-based logic board game, shown in the image below.



Requirements:
  1. You may use any sprite animations or artwork you wish.
  2. In this turn-based game the player takes a turn followed by the opponent taking a turn.
  3. At the start of this game, a logic board is displayed containing a collection of square obstacles, a player (prey) and an enemy (predator).
  4. The square obstacles block a pathway. Code the board so that 10%-20% of the interior contains obstacles.
  5. The player is first to take a turn, using the arrow keys to move up or down a single square on the keyboard as long as there are no obstacles in his or her way. Once the player has taken his or her turn, the enemy will compute its next move.
  6. To win the game the player must navigate around the board obstacles, avoid colliding with the enemy, and successfully exit through the single opening on the board.
  7. When it is the opponent's turn, it will actively hunt down the player.
  8. If a collision with the enemy occurs, the player is defeated.