+ 1
Rock Paper Scissors Competition
In my Comp Sci course we had a Rock Paper Scissors competition between different python programs. Only rule is you can’t use a random generator, How would you approach this competition?
2 Respostas
+ 2
I would (finally) research how the typical pseudo-random-generator works and try to write my own. ;-)
(Wait - is that cheating?)
+ 2
import time and use it as a random choice like:
choice = time.time()%3