draingang_gtbsg
Maze game in console using 2D array
Requirements
1. Players should be able to move through a 2D maze of tiles.
a. Tiles may be empty or occupied by a monster or item.
b. The maze must have an exit tile, and players must be able to reach that exit.
c. The maze must have walls for the player to navigate around.
2. Players can pick up weapons and potions that affect their gameplay.
3. When a player enters the same tile as a monster, a battle will ensue.
a. The player and monster take turns attacking each other, until one reaches a health
total of 0 or less. If the player perishes, the game ends. If the monster perishes, the
player may continue through the maze.
4. When a player enters the same tile as an item, that item’s effect occurs.
a. Weapons are added to the player’s inventory. The damage of the best weapon is
added to the player’s attack.
b. Potions are used immediately and increase the player’s health.
c. If you like, you may add other items with different effects.
16 replies