Commit e4298704 by Kameron Kinsey

### Initialize repository

parent ce335d85
 ... @@ -16,125 +16,200 @@ using namespace std; ... @@ -16,125 +16,200 @@ using namespace std; Monster::Monster(int seed) { Monster::summon(int encounterNum) { // Monster monster; switch(encounterNum) { srand(seed); switch(rand() % 20) { case 1: case 1: cout << "A Toilet stands before you, its porcelin shining in the dull light, containing questionable water" << endl; cout << "A Toilet stands before you, its porcelin shining in the dull light, containing questionable water" << endl; setFight(15); setTalk(5); case 2: case 2: cout << "A Green Bar is before you, you're not sure why, but you feel like you've just solved a math problem" << endl; cout << "A Green Bar is before you, you're not sure why, but you feel like you've just solved a math problem" << endl; setFight(15); setTalk(5); case 3: case 3: cout << "A Potato stands before you on a table, its eyes stare into your soul, or just behind you, it has a lazy eye" << endl; cout << "A Potato stands before you on a table, its eyes stare into your soul, or just behind you, it has a lazy eye" << endl; setFight(5); setTalk(15); case 4: case 4: cout << "A German soldier of the Third Reich stands before you, arm straight in the air" << endl; cout << "A German soldier of the Third Reich stands before you, arm straight in the air" << endl; setFight(10); setTalk(10); case 5: case 5: cout << "A plate of Waffles sit on a table, nothing wrong here, just some Waffles, hangin' out, bein' Waffles" << endl; cout << "A plate of Waffles sit on a table, nothing wrong here, just some Waffles, hangin' out, bein' Waffles" << endl; setFight(5); setTalk(15); case 6: case 6: cout << "A Beautiful Girl is standing before you, wait what's that poking out of her skirt? Probably just a dagger." << endl; cout << "A Beautiful Girl is standing before you, wait what's that poking out of her skirt? Probably just a dagger." << endl; setFight(5); setTalk(15); case 7: case 7: cout << "The Game Devs stand before you, they hope you're liking this game, they put some hard work into it. Heck, I had to create 150 Unique encounters" << endl; cout << "The Game Devs stand before you, they hope you're liking this game, they put some hard work into it. Heck, I had to create 150 Unique encounters" << endl; setFight(10); setTalk(10); case 8: case 8: cout << "A Human stands before you, what? Not everything in this list is Shakespeare" << endl; cout << "A Human stands before you, what? Not everything in this list is Shakespeare" << endl; setFight(12); setTalk(12); case 9: case 9: cout << "The Ugliest thing you've ever seen stan--oh wait that's just a mirror. Fight me, I dare you" << endl; cout << "The Ugliest thing you've ever seen stan--oh wait that's just a mirror. Fight me, I dare you" << endl; setFight(12); setTalk(12); case 10: case 10: cout << "A Door hangs before you, the pressure to conform to society's unrealistic standard for doors was too much. It will be missed" << endl; cout << "A Door hangs before you, the pressure to conform to society's unrealistic standard for doors was too much. It will be missed" << endl; setFight(5); setTalk(15); case 11: case 11: cout << "A Princess stands before you, but she's not why you're here, don't get distracted by needless side-quests, you've got a job to do!" << endl; cout << "A Princess stands before you, but she's not why you're here, don't get distracted by needless side-quests, you've got a job to do!" << endl; setFight(10); setTalk(15); case 12: case 12: cout << "EA stands before you, you must pay \$69.99 to access the rest of this game" << endl; cout << "EA stands before you, you must pay \$69.99 to access the rest of this game" << endl; setFight(10); setTalk(15); case 13: case 13: cout << "A Ghost stands before you, wait, that's just Carl in a bedsheet" << endl; cout << "A Ghost stands before you, wait, that's just Carl in a bedsheet" << endl; setFight(10); setFight(10); case 14: case 14: cout << "A Textbook lies before you, haunting you about what you should be studying instead of playing this game" << endl; cout << "A Textbook lies before you, haunting you about what you should be studying instead of playing this game" << endl; setFight(10); setTalk(10); case 15: case 15: cout << "A Hobo stands before you, asking for some change, loose change, clothes change, societal change, anything. The Hobo is pretty bored with current events" << endl; cout << "A Hobo stands before you, asking for some change, loose change, clothes change, societal change, anything. The Hobo is pretty bored with current events" << endl; setFight(10); setTalk(15); case 16: case 16: cout << "1 Direction stands before you, they deserve this, we won't tell anyone" << endl; cout << "1 Direction stands before you, they deserve this, we won't tell anyone" << endl; setFight(5); setTalk(15); case 17: case 17: cout << "A Doll stands before you, porcelain eyes staring into your soul" << endl; cout << "A Doll stands before you, porcelain eyes staring into your soul" << endl; setFight(5); setTalk(10); case 18: case 18: cout << "A Real Slim Shady Gentleman sits before you, he stands up at your approach" << endl; cout << "A Real Slim Shady Gentleman sits before you, he stands up at your approach" << endl; setFight(10); setTalk(15); case 19: case 19: cout << "Depression hits you as soon as you enter the room, this will be an uphill battle" << endl; cout << "Depression hits you as soon as you enter the room, this will be an uphill battle" << endl; setFight(15); setTalk(5); case 20: case 20: cout << "The Color Blue stands before you. . . I don’t know ok? I lost my sanity 10 encounters back so here. Fight against, Flee from, or Talk to the Color Blue" << endl; cout << "The Color Blue stands before you. . . I don’t know ok? I lost my sanity 10 encounters back so here. Fight against, Flee from, or Talk to the Color Blue" << endl; setFight(10); setTalk(10); } } } } int Monster::setFight(int encounterNum) { void Monster::setMonsterStats(int seed) { switch (encounterNum) { srand(seed); case 1: // Toilet // Set Fight Stat and Modifier return fight = 15; int fight = getFight(); case 2: fight = rand() % 20; // Green Bar setFight(fight); return fight = 15; case 3: // Set Talk Stat and Modifier // Potato int talk = getTalk(); return fight = 5; talk = rand() % 20; case 4: setTalk(talk); // Nazi return fight = 10; case 5: // Waffles return fight = 5; case 6: // Not so Obvious Trap return fight = 5); case 7: // Game Devs return fight = 10; case 8: // Human return fight = 12; case 9: // Mirror return fight = 12; case 10: // Door return fight = 5; case 11: // Princess return fight = 10; case 12: // EA return fight = 10; case 13: // Ghost return fight = 10; case 14: // Textbook return fight = 10; case 15: // Hobo return fight = 10; case 16: // 1 Direction return fight = 5; case 17: // Doll return fight = 5; case 18: // Real Slim Shady return fight = 10; case 19: // Depression return fight = 15; case 20: // Blue return fight = 10; } } } int Monster::setTalk(int encounterNum) { switch (encounterNum) { int main() { case 1: // Toilet Monster monster(5); return talk = 5; case 2: // Green Bar return talk = 5; case 3: // Potato return talk = 15; case 4: // Nazi return 0; return talk = 10; case 5: // Waffles return talk = 15; case 6: // Not so Obvious Trap return talk = 15); case 7: // Game Devs return talk = 10; case 8: // Human return talk = 12; case 9: // Mirror return talk = 12; case 10: // Door return talk = 15; case 11: // Princess return talk = 10; case 12: // EA return talk = 15; case 13: // Ghost return talk = 10; case 14: // Textbook return talk = 15; case 15: // Hobo return talk = 10; case 16: // 1 Direction return talk = 15; case 17: // Doll return talk = 15; case 18: // Real Slim Shady return talk = 15; case 19: // Depression return talk = 10; case 20: // Blue return talk = 10; } } \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment