-
Notifications
You must be signed in to change notification settings - Fork 0
/
Art.cpp
131 lines (120 loc) · 5.93 KB
/
Art.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#include "Art.h"
#include <iostream>
using namespace std;
void Art::drawMenu(){
cout << endl << endl;
cout << "Welcome to Play Land, your pets await you!" << endl;
cout << "-------------------------------------------------------------------------------------------------------------------------------------------------------------"<< endl << endl;
cout << "Dog:" << endl;
cout << " __" << endl;
cout << "(___() '`;" << endl;
cout << "/, /`" << endl;
cout << "\\.\"--\\" << endl << endl;
cout << "Cat:" << endl << endl;
cout << "|\\---/|" << endl;
cout << "| o_o |" << endl;
cout << " \\_^_/" << endl << endl;
cout << "Bunny:" << endl;
cout << " __ __" << endl;
cout << "/ \\\\..// \\" << endl;
cout << " ( oo ) " << endl;
cout << " \\__/" << endl << endl;
cout << "-------------------------------------------------------------------------------------------------------------------------------------------------------------" << endl;
cout << endl << "Enter 1 to create new pet!" << endl << endl;
cout << "Enter 2 to load a saved pet!" << endl << endl;
cout << "Enter 3 to quit!" << endl << endl;
cout << "Enter 4 to read the tutorial menu!" << endl << endl;
}
void Art::drawDog(){
cout << " __" << endl;
cout << "(___() '`;" << endl;
cout << "/, /`" << endl;
cout << "\\.\"--\\" << endl << endl;
}
void Art::drawCat(){
cout << "|\\---/|" << endl;
cout << "| o_o |" << endl;
cout << " \\_^_/" << endl << endl;
}
void Art::drawBunny(){
cout << " __ __" << endl;
cout << "/ \\\\..// \\" << endl;
cout << " ( oo ) " << endl;
cout << " \\__/" << endl << endl;
}
void Art::drawEnd(){
cout << "★─▄█▀▀║░▄█▀▄║▄█▀▄║██▀▄║─★" << endl;
cout << "★─██║▀█║██║█║██║█║██║█║─★" << endl;
cout << "★─▀███▀║▀██▀║▀██▀║███▀║─★" << endl;
cout << "★───────────────────────★" << endl;
cout << "★───▐█▀▄─ ▀▄─▄▀ █▀▀──█───★" << endl;
cout << "★───▐█▀▀▄ ──█── █▀▀──▀───★" << endl;
cout << "★───▐█▄▄▀ ──▀── ▀▀▀──▄───★" << endl;
}
void Art::drawTutorial(){
cout << "-------------------------------------------------------------------------------------------------------------------------------------------------------------";
cout << endl << endl; cout << ",--------. ,--. ,--. ,--." << endl;
cout << "'--. .--',--.,--.,-' '-. ,---. ,--.--.`--' ,--,--.| |" << endl;
cout << " | | | || |'-. .-'| .-. || .--',--.' ,-. || |" << endl;
cout << " | | ' '' ' | | ' '-' '| | | |\ '-' || |" << endl;
cout << " `--' `----' `--' `---' `--' `--' `--`--'`--'" << endl;
cout << ",--. ,--." << endl;
cout << "| `.' | ,---. ,--,--, ,--.,--.,-----.,-----.,-----." << endl;
cout << "| |'.'| || .-. :| \| || |'-----''-----''-----' " << endl;
cout << "| | | |\ --.| || |' '' '" << endl;
cout << "`--' `--' `----'`--''--' `----'" << endl;
cout << endl << endl << "Play land is an RPG where you are given the option to choose between 3 pets, a dog, a cat, and a bunny." << endl << endl;
cout << "The objective of the game is to take care of your pet, name it, feed it, play with it... etc." << endl << endl;
cout << "Each pet has unique attributes of hunger, tiredness, and happiness based on their nature." << endl << endl;
cout << "These stats increase or decrease however when you choose to progress to the next in game hour." << endl << endl;
cout << "You can take actions like feeding the pet to decrease its hunger level or playing with the pet to increase its happiness." << endl << endl;
cout << "So choose your life long companion and take good care of him or her!" << endl << endl;
cout << "Enter any key to return to menu!" << endl << endl;
string key;
cin >> key;
}
void Art::drawEat(){
cout << " ,--./,-." << endl;
cout << "/ # \"" << endl;
cout << "| |" << endl;
cout << "\ / " << endl;
cout << " `._,._,'" << endl;
}
void Art::drawSleep(){
cout << " /'''''/|" << endl;
cout << " / /#|---(ZZZZZZzzzzZZZZZzzzzzzzzz)" << endl;
cout << " /_____/##|_____ " << endl;
cout << " | |##/ /" << endl;
cout << " | |#/ /" << endl;
cout << " |_____|/____/" << endl;
}
void Art::drawPlay(){
cout << " _.-'___'-._" << endl;
cout << " .'--.` `.--'." << endl;
cout << " /.' \\ / `.\\" << endl;
cout << "| /'-._/```\_.-'\\ |" << endl;
cout << "|/ | | \\|" << endl;
cout << "| \\ .''-._.-''. /|" << endl;
cout << " \\| | | /" << endl;
cout << " '.'._.-'-._.'.'" << endl;
cout << " '-:_____;-'" << endl;
}
void Art::drawRun(){
cout << " ,////," << endl;
cout << " /// 6|" << endl;
cout << " // _|" << endl;
cout << " _/_,-'" << endl;
cout << " _.-/'/ \ ,/;," << endl;
cout << " ,-' /' \_ \ / _/" << endl;
cout << " `\ / _/\ ` /" << endl;
cout << " | /, `\_/" << endl;
cout << " | \'" << endl;
cout << " /\_ /` /\"" << endl;
cout << " /' /_``--.__/\ `,. / \"" << endl;
cout << " |_/` `-._ `\/ `\ `." << endl;
cout << " `-.__/' `\ |" << endl;
cout << " `\ \"" << endl;
cout << " `\ \"" << endl;
cout << " \_\__" << endl;
cout << " \___)" << endl;
}