Skip to content

Commit

Permalink
Fixed the stfu mode for gitcs engine
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelorme committed Mar 9, 2017
1 parent 6083e88 commit e72b9e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions engines/gitc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
nbombs = [2, 0, 2]
scores = [0, 0, 0]

stfu = False
def log(x):
if not stfu:
sys.stderr.write(x+'\n')
Expand All @@ -24,8 +25,6 @@ def log(x):
seed = sys.argv[1]
else:
seed = 123456789

stfu_mode = False

random.seed(seed)

Expand Down

0 comments on commit e72b9e8

Please sign in to comment.