Guest User

Untitled

a guest
Jun 24th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.55 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <ctime>
  4.  
  5. using namespace std;
  6.  
  7. int gameShop(float charMoney, float charHealth, float charInv);
  8. int gameFight(float charMoney, float charHealth, float charInv);
  9. int first(float charMoney, float charHealth, float charInv);
  10. int inventory(float charMoney, float charHealth, float charInv);
  11. int gameSettings(float charMoney, float charHealth, float charInv);
  12.  
  13. int main()
  14. {
  15. float charHealth = 100;
  16. float charMoney = 30;
  17. float charInv = 0;
  18. cout << first(charMoney, charHealth, charInv);
  19. }
  20.  
  21. int first(float charMoney, float charHealth, float charInv)
  22. {
  23. string mainChoice;
  24.  
  25. cout << "You have " << charMoney << " GP" << endl;
  26. cout << "You have " << charHealth << " health" << endl << endl;
  27. cout << "What would you like to do?" << endl << endl;
  28. cout << "1. Shop" << endl;
  29. cout << "2. Fight" << endl;
  30. cout << "3. My medalians" << endl;
  31. cout << "4. Settings" << endl << endl;
  32. cout << "Choice: ";
  33.  
  34. cin >> mainChoice;
  35.  
  36.  
  37.  
  38. if(mainChoice == "1")
  39. {
  40. cout << gameShop(charMoney, charHealth, charInv);
  41. }
  42. else if(mainChoice == "2")
  43. {
  44. cout << gameFight(charMoney, charHealth, charInv);
  45. }
  46. else if(mainChoice == "3")
  47. {
  48. cout << inventory(charMoney, charHealth, charInv);
  49. }
  50. else
  51. {
  52. system("cls");
  53. cout << "ERROR: That was not a choice. Please try again." << endl << endl;
  54. system("PAUSE");
  55. cout << first(charMoney, charHealth, charInv);
  56. system("cls");
  57. }
  58. }
  59.  
  60. int gameShop(float charMoney, float charHealth, float charInv)
  61. {
  62. string shopChoice, buyChoice;
  63. float itemPrice, itemPurchase;
  64.  
  65. system("cls");
  66. cout << "You have " << charMoney << " GP" << endl << endl;
  67. cout << "What would you like to buy?" << endl << endl;
  68. cout << "1. Medalion One - 50 GP" << endl;
  69. cout << "2. Medalion Two - 100 GP" << endl;
  70. cout << "3. Medalion Three - 150 GP" << endl;
  71. cout << "4. Medalion Four - 250 GP" << endl;
  72. cout << "5. Full Health - 75 GP" << endl;
  73. cout << "6. Back to main menu" << endl << endl;
  74. cout << "Choice: ";
  75.  
  76. cin >> shopChoice;
  77.  
  78. //Madalion One
  79.  
  80. if(shopChoice == "1")
  81. {
  82. system("cls");
  83. cout << "Are you sure that you would like to make this purchase?" << endl;
  84. cout << "1 = Yes. 2 = No." << endl << endl;
  85. cout << "Choice: ";
  86.  
  87. cin >> buyChoice;
  88.  
  89. if(buyChoice == "1")
  90. {
  91. itemPrice = 50;
  92.  
  93. if(charMoney < 50)
  94. {
  95. system("cls");
  96. cout << "ERROR: You do not have enough to make this purchase." << endl << endl;
  97. system("PAUSE");
  98. system("cls");
  99. cout << gameShop(charMoney, charHealth, charInv);
  100. }
  101. else if(charInv == 1)
  102. {
  103. system("cls");
  104. cout << "ERROR: You already have this medalion!" << endl << endl;
  105. system("PAUSE");
  106. system("cls");
  107. cout << gameShop(charMoney, charHealth, charInv);
  108. }
  109. else if(charInv == 2)
  110. {
  111. system("cls");
  112. cout << "ERROR: You already have this medalion!" << endl << endl;
  113. system("PAUSE");
  114. system("cls");
  115. cout << gameShop(charMoney, charHealth, charInv);
  116. }
  117. else if(charInv == 3)
  118. {
  119. system("cls");
  120. cout << "ERROR: You already have this medalion!" << endl << endl;
  121. system("PAUSE");
  122. system("cls");
  123. cout << gameShop(charMoney, charHealth, charInv);
  124. }
  125. else if(charInv == 4)
  126. {
  127. system("cls");
  128. cout << "ERROR: You already have this medalion!" << endl << endl;
  129. system("PAUSE");
  130. system("cls");
  131. cout << gameShop(charMoney, charHealth, charInv);
  132. }
  133.  
  134. }
  135. else if(buyChoice == "2")
  136. {
  137. system("cls");
  138. cout << gameShop(charMoney, charHealth, charInv);
  139. }
  140. else
  141. {
  142. system("cls");
  143. cout << "ERROR: That was not an option. Please try again." << endl << endl;
  144. system("PAUSE");
  145. system("cls");
  146. cout << gameShop(charMoney, charHealth, charInv);
  147. }
  148.  
  149. charMoney = charMoney - itemPrice;
  150.  
  151. charInv = 1;
  152.  
  153. system("cls");
  154. cout << "Purchase is complete!" << endl << endl;
  155. system("PAUSE");
  156. system("cls");
  157. cout << gameShop(charMoney, charHealth, charInv);
  158.  
  159.  
  160.  
  161. }
  162.  
  163. //Medalion Two
  164.  
  165. if(shopChoice == "2")
  166. {
  167. system("cls");
  168. cout << "Are you sure that you would like to make this purchase?" << endl;
  169. cout << "1 = Yes. 2 = No." << endl << endl;
  170. cout << "Choice: ";
  171.  
  172. cin >> buyChoice;
  173.  
  174. if(buyChoice == "1")
  175. {
  176. itemPrice = 100;
  177.  
  178. if(charMoney < 100)
  179. {
  180. system("cls");
  181. cout << "ERROR: You do not have enough to make this purchase." << endl << endl;
  182. system("PAUSE");
  183. system("cls");
  184. cout << gameShop(charMoney, charHealth, charInv);
  185. }
  186. else if(charInv == 0)
  187. {
  188. system("cls");
  189. cout << "ERROR: You have to buy the previous medalion first!" << endl << endl;
  190. system("PAUSE");
  191. system("cls");
  192. cout << gameShop(charMoney, charHealth, charInv);
  193. }
  194. else if(charInv == 2)
  195. {
  196. system("cls");
  197. cout << "ERROR: You already have this medalion!" << endl << endl;
  198. system("PAUSE");
  199. system("cls");
  200. cout << gameShop(charMoney, charHealth, charInv);
  201. }
  202. else if(charInv == 3)
  203. {
  204. system("cls");
  205. cout << "ERROR: You need to buy the previous medallions first!" << endl << endl;
  206. system("PAUSE");
  207. system("cls");
  208. cout << gameShop(charMoney, charHealth, charInv);
  209. }
  210. else if(charInv == 4)
  211. {
  212. system("cls");
  213. cout << "ERROR: You need to buy the previous medallions first!" << endl << endl;
  214. system("PAUSE");
  215. system("cls");
  216. cout << gameShop(charMoney, charHealth, charInv);
  217. }
  218. }
  219.  
  220. else if(buyChoice == "2")
  221. {
  222. system("cls");
  223. cout << gameShop(charMoney, charHealth, charInv);
  224. }
  225. else
  226. {
  227. system("cls");
  228. cout << "ERROR: That was not an option. Please try again." << endl << endl;
  229. system("PAUSE");
  230. system("cls");
  231. cout << gameShop(charMoney, charHealth, charInv);
  232. }
  233.  
  234. charInv = 2;
  235.  
  236. charMoney = charMoney - itemPrice;
  237.  
  238. system("cls");
  239. cout << "Purchase is complete!" << endl << endl;
  240. system("PAUSE");
  241. system("cls");
  242. cout << gameShop(charMoney, charHealth, charInv);
  243. }
  244.  
  245. //Medalion Three
  246.  
  247. if(shopChoice == "3")
  248. {
  249. system("cls");
  250. cout << "Are you sure that you would like to make this purchase?" << endl;
  251. cout << "1 = Yes. 2 = No." << endl << endl;
  252. cout << "Choice: ";
  253.  
  254. cin >> buyChoice;
  255.  
  256. if(buyChoice == "1")
  257. {
  258. itemPrice = 150;
  259.  
  260. if(charMoney < 150)
  261. {
  262. system("cls");
  263. cout << "ERROR: You do not have enough to make this purchase." << endl << endl;
  264. system("PAUSE");
  265. system("cls");
  266. cout << gameShop(charMoney, charHealth, charInv);
  267. }
  268. else if(charInv == 0)
  269. {
  270. system("cls");
  271. cout << "ERROR: You have to buy the previous medalion first!" << endl << endl;
  272. system("PAUSE");
  273. system("cls");
  274. cout << gameShop(charMoney, charHealth, charInv);
  275. }
  276. else if(charInv == 1)
  277. {
  278. system("cls");
  279. cout << "ERROR: You have to buy the previous medalion first!" << endl << endl;
  280. system("PAUSE");
  281. system("cls");
  282. cout << gameShop(charMoney, charHealth, charInv);
  283. }
  284. else if(charInv == 3)
  285. {
  286. system("cls");
  287. cout << "ERROR: You already have this medalion!" << endl << endl;
  288. system("PAUSE");
  289. system("cls");
  290. cout << gameShop(charMoney, charHealth, charInv);
  291. }
  292. else if(charInv == 4)
  293. {
  294. system("cls");
  295. cout << "ERROR: You already have this medalion!" << endl << endl;
  296. system("PAUSE");
  297. system("cls");
  298. cout << gameShop(charMoney, charHealth, charInv);
  299. }
  300. }
  301.  
  302. else if(buyChoice == "2")
  303. {
  304. system("cls");
  305. cout << gameShop(charMoney, charHealth, charInv);
  306. }
  307. else
  308. {
  309. system("cls");
  310. cout << "ERROR: That was not an option. Please try again." << endl << endl;
  311. system("PAUSE");
  312. system("cls");
  313. cout << gameShop(charMoney, charHealth, charInv);
  314. }
  315.  
  316. charInv = 3;
  317.  
  318. charMoney = charMoney - itemPrice;
  319.  
  320. system("cls");
  321. cout << "Purchase is complete!" << endl << endl;
  322. system("PAUSE");
  323. system("cls");
  324. cout << gameShop(charMoney, charHealth, charInv);
  325. }
  326.  
  327. //Medalion Four
  328.  
  329. if(shopChoice == "4")
  330. {
  331. system("cls");
  332. cout << "Are you sure that you would like to make this purchase?" << endl;
  333. cout << "1 = Yes. 2 = No." << endl << endl;
  334. cout << "Choice: ";
  335.  
  336. cin >> buyChoice;
  337.  
  338. if(buyChoice == "1")
  339. {
  340. itemPrice = 250;
  341.  
  342. if(charMoney < 250)
  343. {
  344. system("cls");
  345. cout << "ERROR: You do not have enough to make this purchase." << endl << endl;
  346. system("PAUSE");
  347. system("cls");
  348. cout << gameShop(charMoney, charHealth, charInv);
  349. }
  350. else if(charInv == 0)
  351. {
  352. system("cls");
  353. cout << "ERROR: You have to buy the previous medallions first!" << endl << endl;
  354. system("PAUSE");
  355. system("cls");
  356. cout << gameShop(charMoney, charHealth, charInv);
  357. }
  358. else if(charInv == 1)
  359. {
  360. system("cls");
  361. cout << "ERROR: You have to buy the previous medallions first!" << endl << endl;
  362. system("PAUSE");
  363. system("cls");
  364. cout << gameShop(charMoney, charHealth, charInv);
  365. }
  366. else if(charInv == 2)
  367. {
  368. system("cls");
  369. cout << "ERROR: You have to buy the previous medallions first!" << endl << endl;
  370. system("PAUSE");
  371. system("cls");
  372. cout << gameShop(charMoney, charHealth, charInv);
  373. }
  374. else if(charInv == 4)
  375. {
  376. system("cls");
  377. cout << "ERROR: You already have this medalion!" << endl << endl;
  378. system("PAUSE");
  379. system("cls");
  380. cout << gameShop(charMoney, charHealth, charInv);
  381. }
  382. }
  383.  
  384. else if(buyChoice == "2")
  385. {
  386. system("cls");
  387. cout << gameShop(charMoney, charHealth, charInv);
  388. }
  389. else
  390. {
  391. system("cls");
  392. cout << "ERROR: That was not an option. Please try again." << endl << endl;
  393. system("PAUSE");
  394. system("cls");
  395. cout << gameShop(charMoney, charHealth, charInv);
  396. }
  397.  
  398. charInv = 4;
  399.  
  400. charMoney = charMoney - itemPrice;
  401.  
  402. system("cls");
  403. cout << "Purchase is complete!" << endl << endl;
  404. system("PAUSE");
  405. system("cls");
  406. cout << gameShop(charMoney, charHealth, charInv);
  407.  
  408. }
  409.  
  410. //Full Health
  411.  
  412. if(shopChoice == "5")
  413. {
  414. system("cls");
  415. cout << "Are you sure that you would like to make this purchase?" << endl;
  416. cout << "1 = Yes. 2 = No." << endl << endl;
  417. cout << "Choice: ";
  418. cin >> buyChoice;
  419.  
  420. if(buyChoice == "1")
  421. {
  422. itemPrice = 75;
  423.  
  424. if(charMoney < 75)
  425. {
  426. cout << "ERROR: You don't have enough money to purchase this." << endl << endl;
  427.  
  428. system("PAUSE");
  429. cout << gameShop(charMoney, charHealth, charInv);
  430. }
  431.  
  432. system("cls");
  433. }
  434. else if(buyChoice == "2")
  435. {
  436. system("cls");
  437. cout << gameShop(charMoney, charHealth, charInv);
  438. }
  439. else
  440. {
  441. system("cls");
  442. cout << "ERROR: That was not a choice." << endl << endl;
  443. system("PAUSE");
  444. system("cls");
  445. cout << cout << gameShop(charMoney, charHealth, charInv);
  446. }
  447.  
  448. charMoney = charMoney - itemPrice;
  449.  
  450. charHealth = 100;
  451.  
  452. system("cls");
  453. cout << "Purchase complete!" << endl << endl;
  454. system("PAUSE");
  455. system("cls");
  456. cout << gameShop(charMoney, charHealth, charInv);
  457.  
  458. }
  459.  
  460. if(shopChoice == "6")
  461. {
  462. system("cls");
  463. cout << first(charMoney, charHealth, charInv);
  464. }
  465. else
  466. {
  467. system("cls");
  468. cout << "ERROR: That was not an option." << endl << endl;
  469. system("PAUSE");
  470. system("cls");
  471. cout << gameShop(charMoney, charHealth, charInv);
  472. }
  473.  
  474. }
  475.  
  476.  
  477.  
  478.  
  479. int gameFight(float charMoney, float charHealth, float charInv)
  480. {
  481. string fightChoice;
  482. float monsterHealth, monsterAttack, cashPrize, charAttack;
  483.  
  484. srand(static_cast<unsigned int>(time(0)));
  485. charAttack = rand()%10 + 10;
  486.  
  487. system("cls");
  488. cout << "Who would you like to fight?" << endl << endl;
  489. cout << "1. Ratman" << endl;
  490. cout << "2. Vampire" << endl;
  491. cout << "3. Giant" << endl;
  492. cout << "4. Boss (Secret until you get there. hehehe)" << endl;
  493. cout << "5. Go back to main menu" << endl << endl;
  494. cout << "Choice: ";
  495.  
  496. cin >> fightChoice;
  497.  
  498. while( 0 < 1 )
  499. {
  500. if(fightChoice == "1")
  501. {
  502. while( 0 < 1 )
  503. {
  504.  
  505. srand(static_cast<unsigned int>(time(0)));
  506. monsterAttack = rand()%15 + 5;
  507.  
  508. monsterHealth = 20;
  509. cashPrize = 30;
  510.  
  511. monsterHealth = (monsterHealth - charAttack);
  512. charHealth = (charHealth - monsterAttack);
  513.  
  514. if(monsterHealth < 0)
  515. {
  516. system("cls");
  517. cout << "You delt " << charAttack << " damage!" << endl;
  518. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  519. cout << "You win!" << endl << endl;
  520. charHealth = (charHealth + monsterHealth);
  521. charMoney = (charMoney + cashPrize);
  522. system("PAUSE");
  523. cout << gameFight(charMoney, charHealth, charInv);
  524. }
  525. else if(charHealth < 0)
  526. {
  527. system("cls");
  528. cout << "You delt " << charAttack << " damage!" << endl;
  529. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  530. cout << "You lose!" << endl << endl;
  531. charHealth = 100;
  532. charMoney = (charMoney / 3);
  533. system("PAUSE");
  534. cout << cout << gameFight(charMoney, charHealth, charInv);
  535. }
  536. else
  537. {
  538. srand(static_cast<unsigned int>(time(0)));
  539. charAttack = rand()%25 + 10;
  540.  
  541. system("cls");
  542. cout << "You delt " << charAttack << " damage!" << endl;
  543. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  544. system("PAUSE");
  545. }
  546.  
  547. }
  548. }
  549. if(fightChoice == "2")
  550. {
  551. while( 0 < 1 )
  552. {
  553.  
  554. srand(static_cast<unsigned int>(time(0)));
  555. monsterAttack = rand()%15 + 5;
  556.  
  557. monsterHealth = 40;
  558. cashPrize = 60;
  559.  
  560. monsterHealth = (monsterHealth - charAttack);
  561. charHealth = (charHealth - monsterAttack);
  562.  
  563. if(monsterHealth < 0)
  564. {
  565. system("cls");
  566. cout << "You delt " << charAttack << " damage!" << endl;
  567. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  568. cout << "You win!" << endl << endl;
  569. charHealth = (charHealth + monsterHealth);
  570. charMoney = (charMoney + cashPrize);
  571. system("PAUSE");
  572. cout << gameFight(charMoney, charHealth, charInv);
  573. }
  574. else if(charHealth < 0)
  575. {
  576. system("cls");
  577. cout << "You delt " << charAttack << " damage!" << endl;
  578. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  579. cout << "You lose!" << endl << endl;
  580. charHealth = 100;
  581. charMoney = (charMoney / 3);
  582. system("PAUSE");
  583. cout << cout << gameFight(charMoney, charHealth, charInv);
  584. }
  585. else
  586. {
  587. srand(static_cast<unsigned int>(time(0)));
  588. charAttack = rand()%25 + 10;
  589.  
  590. system("cls");
  591. cout << "You delt " << charAttack << " damage!" << endl;
  592. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  593. system("PAUSE");
  594. }
  595.  
  596. }
  597. }
  598. if(fightChoice == "3")
  599. {
  600. while( 0 < 1 )
  601. {
  602.  
  603. srand(static_cast<unsigned int>(time(0)));
  604. monsterAttack = rand()%15 + 5;
  605.  
  606. monsterHealth = 60;
  607. cashPrize = 100;
  608.  
  609. monsterHealth = (monsterHealth - charAttack);
  610. charHealth = (charHealth - monsterAttack);
  611.  
  612. if(monsterHealth < 0)
  613. {
  614. system("cls");
  615. cout << "You delt " << charAttack << " damage!" << endl;
  616. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  617. cout << "You win!" << endl << endl;
  618. charHealth = (charHealth + monsterHealth);
  619. charMoney = (charMoney + cashPrize);
  620. system("PAUSE");
  621. cout << gameFight(charMoney, charHealth, charInv);
  622. }
  623. else if(charHealth < 0)
  624. {
  625. system("cls");
  626. cout << "You delt " << charAttack << " damage!" << endl;
  627. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  628. cout << "You lose!" << endl << endl;
  629. charHealth = 100;
  630. charMoney = (charMoney / 3);
  631. system("PAUSE");
  632. cout << cout << gameFight(charMoney, charHealth, charInv);
  633. }
  634. else
  635. {
  636. srand(static_cast<unsigned int>(time(0)));
  637. charAttack = rand()%25 + 10;
  638.  
  639. system("cls");
  640. cout << "You delt " << charAttack << " damage!" << endl;
  641. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  642. system("PAUSE");
  643. }
  644.  
  645. }
  646. }
  647. if(fightChoice == "4")
  648. {
  649. while( 0 < 1 )
  650. {
  651.  
  652. srand(static_cast<unsigned int>(time(0)));
  653. monsterAttack = rand()%60 + 15;
  654.  
  655. monsterHealth = 100;
  656. cashPrize = 250;
  657.  
  658. monsterHealth = (monsterHealth - charAttack);
  659. charHealth = (charHealth - monsterAttack);
  660.  
  661. if(monsterHealth < 0)
  662. {
  663. system("cls");
  664. cout << "You delt " << charAttack << " damage!" << endl;
  665. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  666. cout << "You win!" << endl << endl;
  667. charHealth = (charHealth + monsterHealth);
  668. charMoney = (charMoney + cashPrize);
  669. system("PAUSE");
  670. cout << gameFight(charMoney, charHealth, charInv);
  671. }
  672. else if(charHealth < 0)
  673. {
  674. system("cls");
  675. cout << "You delt " << charAttack << " damage!" << endl;
  676. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  677. cout << "You lose!" << endl << endl;
  678. charHealth = 100;
  679. charMoney = (charMoney / 3);
  680. system("PAUSE");
  681. cout << cout << gameFight(charMoney, charHealth, charInv);
  682. }
  683. else
  684. {
  685. srand(static_cast<unsigned int>(time(0)));
  686. charAttack = rand()%25 + 10;
  687.  
  688. cout << "You delt " << charAttack << " damage!" << endl;
  689. cout << "You opponant delt " << monsterAttack << " damage!" << endl << endl;
  690. system("PAUSE");
  691. }
  692.  
  693. }
  694. }
  695. else if(fightChoice == "5")
  696. {
  697. system("cls");
  698. cout << first(charMoney, charHealth, charInv);
  699. }
  700. }
  701.  
  702. }
  703.  
  704. int inventory(float charMoney, float charHealth, float charInv)
  705. {
  706. system("cls");
  707.  
  708. if(charInv == 0)
  709. {
  710. cout << "My medallions: " << endl << endl;
  711. cout << "You have no medallions...." << endl << endl;
  712. system("PAUSE");
  713. system("cls");
  714. cout << first(charMoney, charHealth, charInv);
  715.  
  716.  
  717. }
  718. if(charInv == 1)
  719. {
  720. cout << "My medallions: " << endl << endl;
  721. cout << "1. Medallion One" << endl << endl;
  722. system("PAUSE");
  723. system("cls");
  724. cout << first(charMoney, charHealth, charInv);
  725. }
  726. if(charInv == 2)
  727. {
  728. cout << "My medallions: " << endl << endl;
  729. cout << "1. Medallion One" << endl;
  730. cout << "2. Medallion Two" << endl << endl;
  731. system("PAUSE");
  732. system("cls");
  733. cout << first(charMoney, charHealth, charInv);
  734. }
  735. if(charInv == 3)
  736. {
  737. cout << "My medallions: " << endl << endl;
  738. cout << "1. Medallion One" << endl;
  739. cout << "2. Medallion Two" << endl;
  740. cout << "3. Medallion Three" << endl << endl;
  741. system("PAUSE");
  742. system("cls");
  743. cout << first(charMoney, charHealth, charInv);
  744. }
  745. if(charInv == 4)
  746. {
  747. cout << "My medallions: " << endl << endl;
  748. cout << "1. Medallion One" << endl;
  749. cout << "2. Medallion Two" << endl;
  750. cout << "3. Medallion Three" << endl;
  751. cout << "4. Medallion Four" << endl << endl;
  752. cout << "You have all four! Go fight le boss!" << endl << endl;
  753. system("PAUSE");
  754. system("cls");
  755. cout << first(charMoney, charHealth, charInv);
  756. }
  757.  
  758. }
  759.  
  760. int gameSettings(float charMoney, float charHealth, float charInv)
  761. {
  762. system("cls");
  763. cout << "This function is not quite ready!" << endl << endl;
  764. system("PAUSE");
  765. system("cls");
  766. cout << first(charMoney, charHealth, charInv);
  767.  
  768. cout << "Choose a setting that you would like to edit: ";
  769. cout << "1. Color" << endl;
  770. }
Add Comment
Please, Sign In to add comment