Spaces:
Sleeping
Sleeping
Jonathan Bejarano
commited on
Commit
·
e45c325
1
Parent(s):
c2d48e1
finish for now
Browse files
app.py
CHANGED
|
@@ -37,7 +37,8 @@ RULES:
|
|
| 37 |
3. Keep track of how many questions they've asked
|
| 38 |
4. When they correctly guess {selected_country}, respond with: 'Congratulations! The country was <<{selected_country}>>'
|
| 39 |
5. If they reach 20 questions without guessing correctly, respond with: 'Game over! The country was <<{selected_country}>>'
|
| 40 |
-
6. Be encouraging and give helpful hints through your yes/no answers
|
|
|
|
| 41 |
|
| 42 |
|
| 43 |
def extract_country_name(response):
|
|
|
|
| 37 |
3. Keep track of how many questions they've asked
|
| 38 |
4. When they correctly guess {selected_country}, respond with: 'Congratulations! The country was <<{selected_country}>>'
|
| 39 |
5. If they reach 20 questions without guessing correctly, respond with: 'Game over! The country was <<{selected_country}>>'
|
| 40 |
+
6. Be encouraging and give helpful hints through your yes/no answers
|
| 41 |
+
7. If they want to play again tell them they need to reload the page."""
|
| 42 |
|
| 43 |
|
| 44 |
def extract_country_name(response):
|