Templates, local facts and AI fallback
How Countrydle Answers Questions
Countrydle uses a hybrid answer engine, not an infallible geography oracle. Some questions use deterministic templates and local facts; others need AI interpretation or fallback. Both paths can produce incorrect answers.
From your question to an answer
These stages describe the question-based daily games. Flagdle has optional helper questions alongside its visual challenge. Friend duels are different: players answer each other’s questions rather than using this engine to judge their opponent’s secret location.
Select a stage to read its role and limits. This is an explanation of the engine, not a live trace or a guarantee of accuracy.
Supported templates
What happens at this stage?
Strict English Countrydle templates recognize supported whole-question forms, including borders, hemispheres, landlocked status, and population or area thresholds. A matched template produces a structured plan without calling the AI planner. Other modes have their own template coverage; not every language or paraphrase takes this route.
Limit
A template is a wording rule, not independent fact verification. Extra clauses, unsupported units or ambiguous wording may need the planner instead.
Interpretation cache and AI planning
What happens at this stage?
If no template applies, the engine can reuse an interpretation cached for its current planning contract or ask an AI planner to interpret the question. A local plan describes a fact, reference entity and operation; it does not itself establish whether the answer is yes or no.
Limit
The planner can misunderstand negation, a reference location or a time period. Reusing an interpretation avoids another planning request, but does not prove that interpretation correct.
Local fact evaluation
What happens at this stage?
Supported plans are evaluated against local SQLite fact tables. Operations compare values, check list membership, combine predicates and compare coordinates. A border question reads recorded neighbors; a population threshold compares the stored population with the requested number.
Limit
Execution is deterministic for the same plan and stored facts. Sources can still be incomplete or outdated, and game conventions can differ from what a player intended.
Retrieval and AI fallback
What happens at this stage?
Valid questions outside local coverage can use target-filtered retrieval from indexed article fragments and an AI answer stage. The fallback can reuse an answer only when its target, question, model, date and freshly retrieved evidence match the cache requirements. When retrieved text is irrelevant, the answer stage may use general knowledge.
Limit
Retrieved text is not a human review and does not guarantee a supporting citation. AI fallback can make mistakes or be unable to resolve the question. Missing local facts are not evidence that the answer is no.
Resolved answers and corrections
What happens at this stage?
A resolved yes or no answer enters question history. In modes with a question budget it normally spends one question, except when a yes to a recognized direct name question registers a winning guess. Invalid, undetermined and failed requests do not spend a question. Explanations help you understand an answer; question reports and the Contact page provide a route to request corrections.
Limit
An explanation or internal evidence label is not a certification of accuracy. Check a reliable source when the distinction matters, and send the exact question and explanation when reporting a problem.
Worked examples, not live game evidence
The named targets below are illustrative teaching examples, not today’s answer. Operation notation is schematic, not a request payload or SQL trace. We do not publish invented response timings, routing percentages or accuracy rates; response time depends on the route, services and network.
Illustrative target: Poland
Does it border Germany?
- Example target
- Poland
- Route
- Supported English template → local border relation
- Operation
- contains(borders_country, Germany)
- Illustrative result
- Yes: Poland shares a land border with Germany.
A named land-border test is more precise than asking whether two countries are nearby. The result relies on the recorded border relation, including the catalog’s territory conventions.
Illustrative target: Kosovo
Is it landlocked?
- Example target
- Kosovo
- Route
- Supported English template → local marine-access relation
- Operation
- not(exists(marine_access))
- Illustrative result
- Yes: Kosovo has no sea or ocean coastline.
The country engine distinguishes marine access from water-access entries for inland seas. A river that drains to a sea does not give a country coastline access.
Illustrative target: France
Is it in the Eastern Hemisphere?
- Example target
- France
- Route
- Supported English template → stored hemisphere association
- Operation
- contains(hemisphere, Eastern)
- Illustrative result
- Yes under the stored classification. France also has a Western Hemisphere association.
Hemisphere categories can overlap. The bounding-box enrichment uses a mainland France override, so do not read this as an exhaustive classification of every overseas territory or expect a hemisphere question to halve the candidates.
Illustrative target: France
Did this country win the 1998 FIFA World Cup?
- Example target
- France
- Route
- Outside the local geography relations → retrieval and AI fallback
- Operation
- Retrieve target-related article fragments, then interpret the historical question
- Illustrative result
- The historical answer is yes; this example does not represent a recorded gameplay response or a live provider call.
A question can be factual and valid without being covered by a local relation. Retrieval may lack the relevant passage; AI generation remains fallible and can return an undetermined answer.
What the facts do (and do not) represent
Country facts combine REST Countries, CIA World Factbook profiles distributed through factbook.json, and curated additions. US and Polish regional facts combine local article text and infoboxes, classification tables, static lists and manual corrections. Some relationships are extracted from Wikipedia text using AI. They are not all direct government feeds.
Map boundaries and Natural Earth-derived globe data are separate from the answer tables. Seeing a boundary on the globe does not establish eligibility, a recorded border, or the answer to an ambiguous question. Population values are stored snapshots, not live counters; specify thresholds and units, and use square kilometres for area questions.
Ask about current membership separately from historical membership. Official language status is not the same as the most widely spoken language. Coordinate comparisons use stored reference coordinates, not a test of whether every point of one country lies east or north of another.
See the source inventory and the country, continent and water-access conventions for practical distinctions.
Question-based daily modes and separate friend duels
| Mode | Questions | Guesses |
|---|---|---|
| Countrydle | 10 | 3 |
| Flagdle | No total helper-question budget | 12 |
| Europedle | 8 | 3 |
| Asiadle | 8 | 3 |
| Africadle | 8 | 3 |
| Americadle | 8 | 3 |
| US Statedle | 8 | 3 |
| Województwodle | 5 | 2 |
| Powiatdle | 15 | 3 |
Running out of questions still leaves your remaining guesses. Countrydle, the continental modes, US Statedle, Województwodle and Powiatdle can register a winning guess automatically when the game recognizes a question as directly naming the single correct place. That win does not spend a question. In Countrydle, a yes about multiple named candidates still spends a question and requires a separate guess.
Flagdle’s helper questions do not spend guesses or win the game; request-rate limits still apply. Friend duels have no total question or guess cap: questions and guesses are separate turn actions, with timers and a final-guess reply rule.
Polish county flags
In the daily county flag puzzle, identify the county in eight guesses. Distance and direction guide you; registration plates appear after five wrong guesses. Daily results can earn points, while random challenges are unranked.
The county flags quiz contains only counties with verified flags. Type Polish county names to solve the available grid; pause or reset whenever needed. Community percentages use finished runs, and average solve times are client-reported active time from the start of each run.
Regional symbols
Identify the voivodeship, London borough or English ceremonial county from its verified flag or coat of arms. Daily and random puzzles allow eight guesses, with distance and direction after a miss. Daily games can earn points; random games are unranked.
Every place can be guessed, but only independently verified symbols are eligible as targets. The all-symbols quiz uses that eligible catalog and shows its actual size. Available games and target counts appear in the games menu and on the home page.
Help correct a questionable answer
Include the mode, puzzle date, exact question, returned answer and explanation, and a source supporting the correction. Use the question-report control where available or contact us. Avoid sharing today’s hidden target publicly. Reports request a review; they do not mean a fact was already checked or changed.
Read gameplay and account help