Create a geography quiz
create_quizCreate geography quiz questions: guess the country from its flag or outline, pick the capital, pick the most populated country, or name a neighbour. Ask the user one question at a time, then pass the user's answer and the question's ticket to check_answer. Do not guess the answer yourself, and do not reveal it before check_answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | flag: name the country from its flag. capital: pick the capital. shape: name the country from its outline. population: pick the most populated of four. borders: name a neighbouring country. | |
| count | No | How many questions to create. | |
| locale | No | Language for names, capitals and links. | en |
| region | No | Limit to one continent. | |
| difficulty | No | easy: well-known countries. hard: lesser-known countries, wrong options from the same area, look-alike flags. | medium |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The quiz type that was asked for. | |
| lives | Yes | Wrong answers that end the run. | |
| play_url | Yes | A page on the site to play. Share it once. | |
| questions | Yes | The questions, in order. | |
| difficulty | Yes | The difficulty that was used. | |
| how_to_play | Yes | How to run the quiz with the user. |