Public
Remixed
Starter template with client-side React & Hono server
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.

✖️ Multiply Rush

A 60-second multiplication sprint. Answer as many a × b questions as you can before the clock runs out.

  • a ranges from 2–12
  • b ranges from 6–100
  • Correct answers auto-advance the moment you type the right number — no need to press Enter.
  • Skip to jump past a tough one, Enter to submit manually.
  • Your best score is saved locally in the browser.

Play

Open the root URL and hit Start. Works great on mobile (numeric keypad pops up automatically).

How it works

Rendering mermaid diagram...

All game logic lives client-side in frontend/components/App.tsx: a small state machine (idle → playing → done), a countdown timer driven by a deadline timestamp, and random question generation. No backend or database needed.

Files

FilePurpose
index.tsHono HTTP server — serves the static frontend + /source redirect
frontend/index.htmlHTML shell (Twind for Tailwind classes)
frontend/index.tsxMounts the React app
frontend/components/App.tsxThe whole game