Feedback wanted on Text RPG Battle program. Please? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Feedback wanted on Text RPG Battle program. Please?

Feedback? Corrections? Is this the right way to go about this? https://code.sololearn.com/cI26Uqr56JXQ/?ref=app Program simulates battle between multiple human (can form a party or multiplayer) and computer players (all the players are computer atm) /*sololearn you know*/. Battle continues until either side is dead. Note: There would normally be a menu system presented to players each turn but yeah sololearn. Also the program ends after 2 turns specifically for the sololearn compiler as it times out.

28th Jan 2017, 4:33 AM
jay
jay - avatar
3 Answers
+ 3
Feedback: Looks good generally from the little C++ I know. Correction: You could replace while(false == quit) with while (!quit) in your main method.
28th Jan 2017, 6:29 AM
Jafca
Jafca - avatar
+ 3
Also, jay's health and strength is "Over 9000" 😂
28th Jan 2017, 6:35 AM
Jafca
Jafca - avatar
+ 3
hahaha Of course!
28th Jan 2017, 6:43 AM
jay
jay - avatar