Started the assignment one for CS396

+- assignmentOne/wordcounter.cpp
+- assignmentOne/maze.cpp
+- assignmentOne/go_fish.cpp
+- assignmentOne/battleship.cpp
This commit is contained in:
Charles Descamps 2024-09-04 15:03:03 -07:00
parent 8c738f9374
commit c8b785fcb8
4 changed files with 180 additions and 0 deletions

View file

@ -0,0 +1,42 @@
/*
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;
}