You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A deck is JSON: id, title, subject, accent (colour), intro, questions.
Multiple choice (choices are shuffled; answer is the index of the right one):
{"topic": "Father Hidalgo", "q": "Hidalgo's 1810 call is called the...", "choices": ["Grito de Dolores", "Treaty of Paris"], "answer": 0, "explain": "On September 16, 1810 he called people to rise up.", "review": "Grito de Dolores, 1810"}
Typed answer:
{"topic": "In America", "type": "type", "q": "Year of the Louisiana Purchase?", "accept": ["1803"], "explain": "The U.S. bought Louisiana from France."}
explain is required: it is shown after every answer. review is the line put on the end-of-game review list when missed. sw.py check validates a deck.