44 lines
No EOL
1.3 KiB
C++
44 lines
No EOL
1.3 KiB
C++
/*
|
||
Program Name: maze
|
||
Process: Does the following according to spec:
|
||
Develop a text-based maze game where the user will navigate through to
|
||
find the exit. Your game will do the following:
|
||
● Welcome the user to the Text Maze Game (or rename it something else)
|
||
● Explain the goal to the user (leave the maze).
|
||
● Create a 3x3 array that will represent the maze where each cell is a room.
|
||
● Define the starting point and the exit point in the maze/array.
|
||
● Prompt the user to move through the maze using “N” for north,
|
||
“S” for south, “E” for east, and “W” for west.
|
||
● Make sure the user can’t leave the boundary of the array.
|
||
● Display a message that congratulates them for finding the exit.
|
||
Function Input/Parameters: ???
|
||
Function Output/Parameters: ???
|
||
Function Output/Returned: ???
|
||
Device Input/Device: ???
|
||
Device Output/Monitor: ???
|
||
Dependencies: ???
|
||
*/
|
||
|
||
#include <cstdio>
|
||
#include <cstdlib>
|
||
#include <iostream>
|
||
#include <cstring>
|
||
#include <list>
|
||
#include <set>
|
||
#include <unordered_map>
|
||
#include <time.h>
|
||
|
||
using namespace std;
|
||
|
||
// function prototypes
|
||
|
||
// class definitions
|
||
|
||
// main program
|
||
int main(int argc, char **argv)
|
||
{
|
||
// return 0
|
||
return 0;
|
||
}
|
||
|
||
// compiles using "g++ -Wall -pedantic maze.cpp -o maze" - note to programmer
|