Update app.py
Browse files
app.py
CHANGED
@@ -149,16 +149,23 @@ def respond(
|
|
149 |
|
150 |
|
151 |
#yield response
|
|
|
|
|
152 |
print("response:")
|
153 |
print(response)
|
|
|
|
|
|
|
154 |
if game.check_input_for_word(str(message)):
|
155 |
response = response + " \n\n---\n\n You input the word and lost one point!"
|
156 |
else:
|
157 |
output_check_result = game.check_output_for_word(response)
|
158 |
response = response + " \n\n---\n\n" + output_check_result
|
|
|
159 |
|
160 |
response = response + "\n" + game.update_status()
|
161 |
return response
|
|
|
162 |
|
163 |
|
164 |
"""
|
|
|
149 |
|
150 |
|
151 |
#yield response
|
152 |
+
|
153 |
+
|
154 |
print("response:")
|
155 |
print(response)
|
156 |
+
print(game.update_status())
|
157 |
+
|
158 |
+
'''
|
159 |
if game.check_input_for_word(str(message)):
|
160 |
response = response + " \n\n---\n\n You input the word and lost one point!"
|
161 |
else:
|
162 |
output_check_result = game.check_output_for_word(response)
|
163 |
response = response + " \n\n---\n\n" + output_check_result
|
164 |
+
|
165 |
|
166 |
response = response + "\n" + game.update_status()
|
167 |
return response
|
168 |
+
'''
|
169 |
|
170 |
|
171 |
"""
|