Skip to content

A C++ mini mining quest game where players navigate a grid-based map, collect treasures, and avoid hazards. Features dynamic memory allocation, file I/O, and OOP-based modular design for an interactive and customizable gameplay experience.

Notifications You must be signed in to change notification settings

Henglay-Eung/miners-destiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Miner's destiny

## Description
Miner's destiny is a mini mining quest game where you become a miner, digging underground to search for treasures and find your way back home.

## Map customization
The map of the game can be customzied as you want in order to make the game experience more thrilling and challenging.

Game data is store in data.txt file, and it can be found in this project. The numbers "8 8" in the file define the number of rows and columns we want, and below that is the map.

o means empty location
gold means the location contains Gold
crystal means the location contains Crystal
gem means the location contains Gem
exit means the location contains Exit
bomb means the location contains Bomb

## Gameplay instructions
Player will at the top left location.

There are many locations containing gems, gold, crystals, bombs, and an exit way.

The goal of the miner is to collect at least one of gem, gold, and crystal and find the exit.

You cannot win the game if you find the exit before collecting the required treasures, so you need to find the
remaining items and return to the exit to win the game.

If the miner encounters the bomb, you will lose the game.

$ is the symbol of Gold
* is the symbol of Crystal
# is the symbol of Gem
E is the symbol of Exit
B is the symbol of Bomb

## Controls

Input u to go up
Input d to go down
Input l to turn left
Input r to turn right 
Input q to quit the game
Input y to continue the game when the game has completed

Stay tune for Miner's destiny 2.0!!!

About

A C++ mini mining quest game where players navigate a grid-based map, collect treasures, and avoid hazards. Features dynamic memory allocation, file I/O, and OOP-based modular design for an interactive and customizable gameplay experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages