Train Escape: HTML5 Toy Train Tap Puzzle
A tap puzzle for the web with wooden toy trains on top-down clay-and-wood scenery. Colorful trains sit on their rails: tap a train and it rolls out along its track, loco first, unless another train is in its way. Send them all home in 100 levels across 5 worlds, with sound effects, background music and 14 languages. Plain HTML, CSS and JavaScript ES modules: no framework, no npm dependencies and no compile step.

100 levels in 5 worlds
Toy Town, Farm Valley, Snowy Mountains, Seaside Harbor and Night City, 20 levels each, with 3 stars to earn in every level (3 for no mistakes). Boards grow from a few trains to dozens, and many are shaped like a picture. A level select with one wooden board per world shows your stars, and a locked world can be looked at before it opens.
New pieces in every world
Sleepy trains that need one extra tap to wake up (from level 21), wooden bridges where what lies under the bridge blocks nobody (from level 41), pairs joined by a golden coupling that only leave together (from level 61) and station-clock trains that must leave before their number runs out (from level 81). Each new piece gets a one-line help the first time it appears.

Satisfying to play
The rules and the level generator are original code, with no engine and no library, and every level is checked by automated tests. Undo and hint are free, a Daily challenge brings a new board every day, and the trains puff steam, roll and bump. A mascot cheers you on, the rails light up gold with confetti and fireworks when you clear a level, leaves and snow drift across each world, and combo words and rising notes reward trains that leave in a row.
Every screen, every language, easy to reskin
Layouts for phones, tablets, desktop and ultrawide monitors in portrait and landscape, with touch and mouse. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Replace the pictures in assets/, change the colors and every animation number in src/config.js, and build new levels with npm run levels.

Ready to host
Upload the contents of game/ to any static host. The complete editable source, the level generator, 25 automated checks and guides in 14 languages come in the package.























