lundi 18 novembre 2019

random deaths in python game

full code is here: https://repl.it/repls/UnevenLovingDecagons

On the end of the loop I'd like to create situation where each few years half of colony dies. But I don't want it to happen on regular basis, but rather once a few years, after five years, two years in a row, so the occurrence is not predictable. How can I do so? What command to use?




Aucun commentaire:

Enregistrer un commentaire