Skip to content

Add Casual Quiz to Focus Games - #21

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/casual-quiz-game-86f7
Sep 14, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/casual-quiz-game-86f7

Conversation

@rmkr-dev

Copy link
Copy Markdown
Owner

Summary

  • Add Casual Quiz (games/quiz/) in the same Focus Games theme: large tap targets, no accounts, marks in localStorage only (rmkr-game-quiz-marks)
  • Topics and levels are switchable at any time. General mixes every other topic at random
  • Topics include India, Tamil Nadu, science, technology, history, geography, sports, food, nature, cinema, and space
  • Wrong answers highlight the right option and show a short explanation; Hint is available before answering
  • All questions, topics, and levels live in games/quiz/questions.json — add or edit content there with no code changes

Test plan

  • Open /games/ and confirm the Casual Quiz card
  • Open /games/quiz/ over http (not file://) so questions.json loads
  • Answer correctly: session and lifetime marks increase
  • Answer incorrectly: correct option and explanation appear
  • Use Hint, Skip, and switch topic/level mid-round
  • Reload the page: lifetime marks persist
  • Check a narrow viewport (chips wrap, options stay tappable)
  • node scripts/site-check.mjs is green
Open in Web Open in Cursor 

rmkr-dev and others added 2 commits September 14, 2026 16:39
JSON-driven multiple-choice quiz with switchable topics and levels.
Marks stay in localStorage; adding questions only requires editing questions.json.

Co-authored-by: Ramkumar Ethiraj <rmkr-dev@users.noreply.github.com>
Keeps Hint/Skip quiet until the player has seen the result, then highlights Next.

Co-authored-by: Ramkumar Ethiraj <rmkr-dev@users.noreply.github.com>
@rmkr-dev
rmkr-dev marked this pull request as ready for review September 14, 2026 16:52
@cursor
cursor Bot merged commit bcbd1cf into main Sep 14, 2026
1 check passed
@cursor
cursor Bot deleted the cursor/casual-quiz-game-86f7 branch September 14, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant