+ 1
Read Message
On python, I have created a code in which a randomized setup will determine what you eat, drink, where you live and if you survive. I would like it so that if you survive the night, then you would be able to move on to another day. But if you die, then you must start over. How can I do this? https://code.sololearn.com/c0gpw10636O4/#py this is a link to the code
3 ответов
+ 1
Could I just use a if else statement that is randomized?
+ 1
Try implementing a counter of some sort, some method to track in game time, it can be time based, so every few minutes equals a day or action based, where the user successfully choose 5/8 of the day correctly, but you need a way to manage, record and filter