Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 936 Bytes

README.md

File metadata and controls

32 lines (17 loc) · 936 Bytes

exploreGame

Map-based game using pointers, classes and polymorphism written in C++. Randomly generates map tiles, map names and events that require player input in the form of a letter.

Sample text from game, note that the game requests a prompt whenever the console prints "Your choice: ".

Starting the game.. HP: 100 Atk: 25 Def: 10 Time: 50 Zone: Serene Grove

You sense something unique about this area.. [E]xplore?

You can move: [U]p [D]own [L]eft [R]ight

Your choice: D

You enter the zone, freshly fallen snow crunching beneath your feet.

HP: 100 Atk: 25 Def: 10 Time: 49 Zone: Frozen Expanse

You sense something unique about this area.. [E]xplore?

You can move: [U]p [L]eft [R]ight

Your choice: E

The temple, although formed from ice, is rather comfortable inside. You take refuge and rest well (+20 HP)

HP: 100 Atk: 25 Def: 10 Time: 47 Zone: Eternal Tundra

You can move: [U]p [L]eft [R]ight

Your choice: