+ 2

Help?

Can i add 1 to the x value if x == y?5 If someone xan help me this is going to be a impossible to win game. I want this to prank my friends https://code.sololearn.com/cObf1Q0YV3ap/?ref=app Just change the 99999 to 15 because i forgot to.

4th Dec 2019, 2:59 AM
Vinicius
Vinicius - avatar
3 Answers
+ 3
i created a game with same logic where computer choose a random no b/w 0 to 99 using same logic and player get 5 chances, after each attempt (wrong one) the computer would only tell the player that your gess was either high or low to the correct answer and user go to close and closer to correct answer and sometimes win it too. well here is a simple cheat code for you i hope it help. https://code.sololearn.com/cvX1pTf7fRgw/?ref=app
4th Dec 2019, 9:49 AM
Pradeep Kumar Prajapati
Pradeep Kumar Prajapati - avatar
+ 3
umm i am new in this app so i don't know if i had to mark this code as "public" so others can access it even after they have link for it in somewhere in a comment? tell me if you can access the code through link or not. thank you...
4th Dec 2019, 9:57 AM
Pradeep Kumar Prajapati
Pradeep Kumar Prajapati - avatar
0
Just add the same condition before and alter the value. I feel that a game where you only lose, would be frusturating.
4th Dec 2019, 5:37 AM
Manual
Manual - avatar