-
Notifications
You must be signed in to change notification settings - Fork 0
/
chaosMain.cpp
43 lines (37 loc) · 1.24 KB
/
chaosMain.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/******************************************************************************
** Program Name: Furry Chaotic Darkness
** Author: Lauren "Ren" Demeis-Ortiz
** Date: 12/4/19
** Description: This is a game where the user is a cat that is trying to lure
** the dog out of the house before it's human comes home. User
** must move quickly or they lose points.
** Credit: Ideas for using files for maps and ncurses came from Jacob Leno's
** final project on code sharing page.
** https://oregonstate.instructure.com/courses/1738874/pages/
** code-sharing?module_item_id=18940565
******************************************************************************/
#include "Menu.hpp"
#include "Game.hpp"
#include <iostream>
#include <string>
int main()
{
int userChoice = 0;
while (userChoice != 3)
{
Game g1;
userChoice = g1.runStartMenu();
switch(userChoice)
{
case 1:
g1.runGame();
break;
case 2:
g1.runInstructions();
break;
case 3:
std::cout << "Quitting...\n\n";
}
}
return 0;
}