+ 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?

1st Nov 2018, 8:24 PM
Hudson Chromy
Hudson Chromy - avatar
2 ответов
+ 2
I would (finally) research how the typical pseudo-random-generator works and try to write my own. ;-) (Wait - is that cheating?)
1st Nov 2018, 8:36 PM
HonFu
HonFu - avatar
+ 2
import time and use it as a random choice like: choice = time.time()%3
1st Nov 2018, 11:31 PM
John Wells
John Wells - avatar