• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
willemhelmet

willemhelmet

flag-quiz

Remix of jxnblk/react-router-hono-starter
Public
Like
flag-quiz
Home
Code
7
.vtignore
AGENTS.md
README.md
client.tsx
deno.json
routes.tsx
H
server.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
server.tsx
https://willemhelmet--0199bb04a6257637997b6737af7f2f66.web.val.run
README.md

Flag Quiz

A fun, interactive flag quiz game built with React Router and Hono on Val Town.

How to Play

Test your knowledge of world flags! Each game presents 10 randomly selected flags with multiple choice questions. Try to identify which country each flag belongs to.

Features

  • 55 Country Flags - Diverse selection from around the world
  • Random Questions - Each game randomly selects 10 flags with shuffled answer options
  • Progress Tracking - Visual progress bar shows your position in the quiz
  • Detailed Results - Review all questions at the end with:
    • Your score out of 10
    • Color-coded correct/incorrect answers
    • Side-by-side comparison of your answers vs. correct answers
  • Play Again - Restart with a fresh set of random questions
  • Responsive Design - Works great on desktop and mobile devices

Tech Stack

  • React 19 with React Router 7 for routing
  • Hono for server-side rendering
  • TailwindCSS for styling
  • Val Town for hosting

How it Works

The server.tsx file handles server-side rendering with Hono and React Router. The client.tsx file hydrates the app for client-side interactivity. All game logic runs on the client side with no backend storage required.

HTTP
  • server.tsx
    willemhelmet--01…66.web.val.run
Code
.vtignoreAGENTS.mdREADME.mdclient.tsxdeno.jsonroutes.tsx
H
server.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.