We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5503bf2 commit 61159b2Copy full SHA for 61159b2
TicTacToe.py
@@ -28,6 +28,7 @@ def inputPlayerLetter():
28
29
def whoGoesFirst():
30
# Randomly choose the player who goes first.
31
+ random.seed()
32
if random.randint(0, 1) == 0:
33
return 'computer'
34
else:
0 commit comments