Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
·
e6431ed
1
Parent(s):
c64242c
Update dcogsphere.py
Browse files- dcogsphere.py +1 -10
dcogsphere.py
CHANGED
@@ -109,13 +109,4 @@ class ProceduralPlayer(ACTR):
|
|
109 |
def play_paper(goal='play rps',choice='waiting:True'):
|
110 |
choice.choose('paper')
|
111 |
def play_scissors(goal='play rps',choice='waiting:True'):
|
112 |
-
choice.choose('scissors')
|
113 |
-
|
114 |
-
env=RockPaperScissors()
|
115 |
-
env.model1=ProceduralPlayer()
|
116 |
-
env.model1.choice=env.choice1
|
117 |
-
env.model2=ProceduralPlayer()
|
118 |
-
env.model2.choice=env.choice2
|
119 |
-
env.run()
|
120 |
-
#log_data = env.log
|
121 |
-
#return log_data[0]['score1']
|
|
|
109 |
def play_paper(goal='play rps',choice='waiting:True'):
|
110 |
choice.choose('paper')
|
111 |
def play_scissors(goal='play rps',choice='waiting:True'):
|
112 |
+
choice.choose('scissors')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|