projects
/
menace.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Cached player state
[menace.git]
/
nim-trinket
/
main.py
1
from
menace
import
*
2
import
pprint
3
import
random
4
5
pp
=
pprint
.
PrettyPrinter
()
6
7
p1
=
new_menace
()
8
p2
=
new_menace
()
9
10
train_players
(
p1
,
p2
)
11
12
pp
.
pprint
(
p1
)
13
# pp.pprint(p2)
14
15
ph
=
new_human
()
16
17
game_with_players
(
p1
,
ph
,
report_result_for
=
ph
)
18
19
20