Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
c9f81b4
1
Parent(s):
36e8381
Update dcogsphere.py
Browse files- dcogsphere.py +6 -6
dcogsphere.py
CHANGED
@@ -111,11 +111,11 @@ class ProceduralPlayer(ACTR):
|
|
111 |
def play_scissors(goal='play rps',choice='waiting:True'):
|
112 |
choice.choose('scissors')
|
113 |
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
#log_data = env.log
|
121 |
#return log_data[0]['score1']
|
|
|
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']
|