• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
mgm

mgm

numero-games

Learning French numbers by listening to train announcements
Unlisted
Like
numero-games
Home
Code
2
README.md
H
french-numbers-practice.ts
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
french-numbers-practice.ts
https://mgm--9a86e65431df11f098db569c3dd06744.web.val.run
README.md

French Numbers Practice - Train Announcements

A mobile-friendly web application to help practice French numbers through simulated train announcements.

Features

  • Randomly generated French train announcements with numbers
  • Text-to-speech pronunciation using native browser capabilities
  • Interactive practice with real-time feedback for each number
  • Individual input fields for different types of numbers (train numbers, platforms, times, etc.)
  • Progressive difficulty with "Avancé!" button when all answers are correct
  • Mobile-friendly design with dark mode support
  • No external dependencies or API keys required

How to Use

  1. Listen to the French train announcement by clicking the "Play" button
  2. Try to identify all the numbers you hear in the announcement
  3. Enter each number in its corresponding labeled input field
  4. Each field will show real-time feedback (green for correct, red for incorrect)
  5. When all answers are correct, the button changes to "Avancé!" - click it for a new quiz
  6. Click "Give up" to see all correct answers
  7. Generate a new announcement by clicking the "New" button

Technical Details

  • Built as a single HTTP-triggered Val
  • Uses browser's built-in SpeechSynthesis API for text-to-speech
  • Styled with TailwindCSS
  • Includes dark mode support based on system preferences
  • Fully client-side with no backend dependencies

French Number Patterns

The application helps you practice various French number patterns:

  • Basic numbers (1-16)
  • Teen numbers (17-19)
  • Tens (20, 30, 40, etc.)
  • Compound numbers (21, 22, etc.)
  • Special cases (70s, 80s, 90s)

Train Announcement Context

Numbers appear in various contexts within the train announcements:

  • Train numbers (usually 4-5 digits)
  • Platform/track numbers (1-25)
  • Time (hours and minutes)
  • Delays (in minutes)
  • Car/wagon numbers

This provides realistic practice for understanding numbers as they would be used in actual French train stations.

Code
README.md
H
french-numbers-practice.ts
FeaturesVersion controlCode intelligenceCLIMCP
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.