Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Merge remote-tracking branch 'origin/main' into templerun

Mason36397e7bdd7d92d
diff --cc .github/workflows/build.yml
index 60c539dd,2a3cdbcd..94fb04ed
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@@ -95,7 -96,9 +96,10 @@@ jobs
make -C games/polytrack host test
make -C games/paperclips host test
make -C games/badtime host test
+ make -C games/mahjong host test
+ make -C games/rider host test
+ make -C games/snowrider host test
+ make -C games/templerun host test
diff --cc Makefile
index 1ba6b317,dad60312..14cccffc
--- a/Makefile
+++ b/Makefile
@@@ -18,7 -18,7 +18,7 @@@ PY ?= python
CARGO ?= cargo
B = build/data
# Conventional games honor a configurable output directory; special layouts are kept local.
- GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot celeste championisland chess connectfour cookieclicker coreball dinorun donkeykong doodlejump doom dune finalearth2 flappybird flappydunk fnaf fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride leveldevil minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz snake sokoban solitaire sonic stickmanhook subway sudoku suika templerun tombofthemask towerblock turborush twoplayer undertale uno uttt
-GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot celeste championisland chess connectfour cookieclicker coreball dinorun donkeykong doodlejump doom dune finalearth2 flappybird flappydunk fnaf fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride leveldevil mahjong meowdoku minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz rider snake snowrider sokoban solitaire sonic stickmanhook subway sudoku suika tombofthemask towerblock turborush twoplayer undertale uno uttt
++GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot celeste championisland chess connectfour cookieclicker coreball dinorun donkeykong doodlejump doom dune finalearth2 flappybird flappydunk fnaf fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride leveldevil mahjong meowdoku minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz rider snake snowrider sokoban solitaire sonic stickmanhook subway sudoku suika templerun tombofthemask towerblock turborush twoplayer undertale uno uttt
GAMES_OUT = dinorun
GAME_REDIRECT_ARG = $(if $(filter $(1),$(GAMES_OUT)),OUT=../../$(B)/games/$(1),BUILD_DIR=../../$(B)/games/$(1))
# the RAM the oldest calculator software that runs apps gives them (23.2: 148928 bytes; 25.2 gives 153676).
@@@ -29,7 -29,7 +29,7 @@@ RAM_LIMIT = 14892
# custom builds of Epsilon 25.2's source give apps less: 133652 bytes; every game fits there too, in NumPlay and on
# its own (their big buffers are on the stack, 32 KB apart from that RAM, or in the RAM the software has left)
CUSTOM_RAM = 133652
- BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook DonkeyKong Dune MonkeyMart TombOfTheMask UNO FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator TempleRun
-BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook DonkeyKong Dune MonkeyMart TombOfTheMask UNO FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong Rider SnowRider3D
++BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook DonkeyKong Dune MonkeyMart TombOfTheMask UNO FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong Rider SnowRider3D TempleRun
# the calculator's space for installed apps: from the end of its software (64 KiB aligned) to 64 KiB before the
# end of its 4 MiB slot of flash, 0x903F0000. The software's size sets the start: 0x90200000 is the latest a
# NumPlay counts on (1.94 MB, APP_SPACE); Epsilon 26.4 on an N0120 ends at 0x90180000 (2.44 MB, the
@@@ -47,7 -47,7 +47,7 @@@ XL_APP_SPACE = 629145
# the spaces the customizer website offers (kit.json "spaces"; tools/kit.py links a NumPlay at each)
SPACES = std:$(APP_START):$(APP_END) e26:$(APP_START_26):$(APP_END) xl:$(APP_START):$(XL_END) xl26:$(APP_START_26):$(XL_END)
# big games that must install on their own without Enlarged Extra Apps: make check holds them to APP_SPACE
- APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator TempleRun
-APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong SnowRider3D
++APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong SnowRider3D TempleRun
# Upsilon, the N0110 and N0115's custom software, gives .nwa apps less RAM: NumPlay-Upsilon.nwa has
# the games that fit it (NumPlay draws their text there: see launcher/src/compat.c)
UPSILON_RAM = 107674
@@@ -329,7 -329,9 +329,10 @@@ APP_angrybirds = $(B)/games/angrybirds/
APP_polytrack = $(B)/games/polytrack/polytrack.nwa:PolyTrack.nwa
APP_paperclips = $(B)/games/paperclips/paperclips.nwa:UniversalPaperclips.nwa
APP_badtime = $(B)/games/badtime/badtime.nwa:BadTimeSimulator.nwa
+ APP_mahjong = $(B)/games/mahjong/mahjong.nwa:Mahjong.nwa
+ APP_rider = $(B)/games/rider/rider.nwa:Rider.nwa
+ APP_snowrider = $(B)/games/snowrider/snowrider.nwa:SnowRider3D.nwa
+APP_templerun = $(B)/games/templerun/templerun.nwa:TempleRun.nwa
# the big games' modules are made from these (the kit)
$(foreach g,$(XL_GAMES),$(eval MOD_$(g) = $$(word 1,$$(subst :, ,$$(APP_$(g))))))
@@@ -370,7 -372,9 +373,10 @@@ apps: | $(B
$(MAKE) -C games/polytrack build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/polytrack
$(MAKE) -C games/paperclips build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/paperclips
$(MAKE) -C games/badtime build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/badtime
+ $(MAKE) -C games/mahjong build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/mahjong
+ $(MAKE) -C games/rider build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/rider
+ $(MAKE) -C games/snowrider build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/snowrider
+ $(MAKE) -C games/templerun build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/templerun
cd games/tetris/tetris && NWLINK="$(NWLINK)" $(CARGO) build --release --quiet
cp $(word 1,$(subst :, ,$(APP_numdash))) $(B)/apps/$(word 2,$(subst :, ,$(APP_numdash)))
cp $(word 1,$(subst :, ,$(APP_crossyroad))) $(B)/apps/$(word 2,$(subst :, ,$(APP_crossyroad)))
@@@ -409,7 -413,9 +415,10 @@@
cp $(word 1,$(subst :, ,$(APP_polytrack))) $(B)/apps/$(word 2,$(subst :, ,$(APP_polytrack)))
cp $(word 1,$(subst :, ,$(APP_paperclips))) $(B)/apps/$(word 2,$(subst :, ,$(APP_paperclips)))
cp $(word 1,$(subst :, ,$(APP_badtime))) $(B)/apps/$(word 2,$(subst :, ,$(APP_badtime)))
+ cp $(word 1,$(subst :, ,$(APP_mahjong))) $(B)/apps/$(word 2,$(subst :, ,$(APP_mahjong)))
+ cp $(word 1,$(subst :, ,$(APP_rider))) $(B)/apps/$(word 2,$(subst :, ,$(APP_rider)))
+ cp $(word 1,$(subst :, ,$(APP_snowrider))) $(B)/apps/$(word 2,$(subst :, ,$(APP_snowrider)))
+ cp $(word 1,$(subst :, ,$(APP_templerun))) $(B)/apps/$(word 2,$(subst :, ,$(APP_templerun)))
arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwa
STD_APPS = $(foreach g,$(STD_GAMES),$(B)/apps/$(NWA_$(g)))
@@@ -489,6 -495,8 +498,9 @@@ clean
-$(MAKE) -C games/polytrack clean
-$(MAKE) -C games/paperclips clean
-$(MAKE) -C games/badtime clean
+ -$(MAKE) -C games/mahjong clean
+ -$(MAKE) -C games/rider clean
+ -$(MAKE) -C games/snowrider clean
+ -$(MAKE) -C games/templerun clean
-cd games/tetris/tetris && $(CARGO) clean
-$(foreach g,$(STD_GAMES),$(MAKE) -C games/$(g) clean;)
diff --cc README.md
index f7dde699,3cd47f71..d5df077e
--- a/README.md
+++ b/README.md
@@@ -6,7 -6,7 +6,7 @@@
<p align="center">
<b>29 free games for your NumWorks calculator, in one app.</b><br>
- Plus 29 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.
- Plus 31 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.
++ Plus 32 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.
</p>
<p align="center">
@@@ -141,11 -143,15 +143,16 @@@ These are too big to fit next to NumPla
</tr>
<tr>
<td align="center"><a href="games/badtime/README.md"><img src="docs/media/thumb_badtime.png" width="200" alt="Bad Time Simulator"><br><b>Bad Time Simulator</b></a><br><sub>The Sans fight: all 24 attacks, KR and the blue heart</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/BadTimeSimulator.nwa">Download</a></td>
+ <td align="center"><a href="games/mahjong/README.md"><img src="docs/media/thumb_mahjong.png" width="200" alt="Mahjong"><br><b>Mahjong</b></a><br><sub>Mahjong solitaire: 144 tiles, four layouts, every deal winnable</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/Mahjong.nwa">Download</a></td>
+ <td align="center"><a href="games/rider/README.md"><img src="docs/media/thumb_rider.png" width="200" alt="Rider"><br><b>Rider</b></a><br><sub>The neon bike game: 48 levels, the endless run and 55 bikes</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/Rider.nwa">Download</a></td>
+ </tr>
+ <tr>
+ <td align="center"><a href="games/snowrider/README.md"><img src="docs/media/thumb_snowrider.png" width="200" alt="Snow Rider 3D"><br><b>Snow Rider 3D</b></a><br><sub>The endless sled run: its slope, 11 sleds and gifts to buy them</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/SnowRider3D.nwa">Download</a></td>
+ <td align="center"><a href="games/templerun/README.md"><img src="docs/media/thumb_templerun.png" width="200" alt="Temple Run"><br><b>Temple Run</b></a><br><sub>Run from the temple: turn, jump, slide and lean</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/TempleRun.nwa">Download</a></td>
<td align="center"><a href="https://github.com/Mason363/NumWorks-Super-Mario-64"><b>Super Mario 64</b></a><br><sub>In a repository of its own: NumWorks-Super-Mario-64</sub></td>
- <td align="center"><a href="https://github.com/Mason363/NumWorks-Super-Mario-Bros"><b>Super Mario Bros.</b></a><br><sub>All 32 stages, in a repository of its own: NumWorks-Super-Mario-Bros</sub></td>
</tr>
<tr>
+ <td align="center"><a href="https://github.com/Mason363/NumWorks-Super-Mario-Bros"><b>Super Mario Bros.</b></a><br><sub>All 32 stages, in a repository of its own: NumWorks-Super-Mario-Bros</sub></td>
<td align="center"><a href="#roadmap"><b>More on the way</b></a><br><sub>Minecraft 1.18.2 and more: see the roadmap</sub></td>
</tr>
</table>
@@@ -293,7 -301,9 +302,10 @@@ Read **[Make your own NumWorks game](do
- [x] [NumPlay Studio](https://mason363.github.io/NumPlay/customize/), the website where you pick the games in your NumPlay, with Enlarged Extra Apps to fit several big games
- [x] Universal Paperclips
- [x] Bad Time Simulator: the Sans fight
+ - [x] Mahjong
+ - [x] Meowdoku
+ - [x] Rider
+- [x] Temple Run
- [ ] Full Minecraft 1.18.2 as a standalone app
- [ ] Among Us, against bots
- [ ] Cat Ninja
@@@ -373,7 -382,9 +383,10 @@@ NumPlay is a fan project, made out of l
- **[PolyTrack](https://www.kodub.com/apps/polytrack)** by Kodub inspired NumPlay's PolyTrack, which drives the game's 17 tracks with its own physics numbers, models, colours and logo, read from its web build. Its 3D engine grew out of **Boris-TH**'s PolyGT 3D. Not affiliated with Kodub.
- **[Universal Paperclips](https://www.decisionproblem.com/paperclips/)** by Frank Lantz (Everybody House Games), with combat programming by Bennett Foddy, inspired NumPlay's Universal Paperclips, which plays the whole game with its rules, numbers, projects and messages, read from its web build. Not affiliated with them.
- **[Bad Time Simulator](https://github.com/jcw87/c2-sans-fight)** by jcw87, Undertale's Sans fight remade, inspired NumPlay's Bad Time Simulator, which plays its 24 attack scripts with its sprites (Undertale's, by Toby Fox), words and numbers, read from its project, and the **Pixel Operator** font. Not affiliated with jcw87 or Toby Fox.
+ - **Mahjong solitaire**, first made by Brodie Lockard (Mah-Jongg, 1981) and made famous by Activision's **Shanghai** (1986), inspired NumPlay's Mahjong, written in C for NumPlay with its tiles drawn from scratch. Its layouts are [KMahjongg](https://apps.kde.org/kmahjongg/)'s, by the KDE Games team, and the characters on its tiles come from the **Fusion Pixel** font by TakWolf (SIL Open Font License, [license](LICENSES/OFL-1.1-Fusion-Pixel.txt)). Not affiliated with them.
+ - **Rider** by Ketchapp inspired NumPlay's Rider, which rides the game's own levels, track pieces and collision shapes with its physics numbers, bikes, challenges and colours, read from the game's files, with the bikes drawn again as outlines. Not affiliated with Ketchapp.
+ - **Snow Rider 3D** inspired NumPlay's Snow Rider 3D, which makes its slope, sleds, gifts and camera the way the game does, with its models, colours, numbers and logo read from its Unity project ([q8j-dev/snow-rider-3d](https://github.com/q8j-dev/snow-rider-3d)). **[dennisimoo](https://github.com/dennisimoo)** brought it to NumPlay. Not affiliated with its makers.
+- **Temple Run** by Imangi Studios inspired NumPlay's Temple Run, which follows the game's rules and numbers (its path, piece for piece, and its pacing, speeds, coins, power-ups, upgrades and objectives) and uses its own models (Guy Dangerous, the demon monkeys, the path, the coins and the scenery, with fewer triangles), all read from its Android package (version 1.0.8), and the **Lilita One** font (SIL Open Font License, [license](LICENSES/OFL-1.1-LilitaOne.txt)). Not affiliated with Imangi Studios.
- **[Level Devil](https://store.steampowered.com/app/3242750/)** by Unept: NumPlay's Level Devil is written in C with no code from the game, but its 80 rooms (their tiles, traps and timing) are the game's own, taken from its web build by games/leveldevil/tools/fetch.py, and its runner is drawn from the game's sprites.
- **Pong** by Atari (1972) inspired NumPlay's 2 Players, with air hockey, tanks in a maze in the spirit of Tank Trouble and the light cycles of Tron. All four are written in C for NumPlay and drawn from shapes, with no code or art from them.
@@@ -402,7 -414,7 +416,7 @@@
NumPlay is licensed under the [GNU General Public License v3.0](LICENSE). Copyright (c) 2026 Mason Chen. Code and fonts from others keep their own licenses: the `UNLICENSE` files in the games' folders and the [LICENSES](LICENSES) folder. The names, artwork and music of the games NumPlay is inspired by belong to their makers and are not covered by it.
- <sub>Unofficial fan games, not affiliated with NumWorks, RobTop Games (Geometry Dash), Hipster Whale (Crossy Road), the makers of Drive Mad, LocalThunk or Playstack (Balatro), Mike Klubnika or Critical Reflex (Buckshot Roulette), Hungry Studio (Block Blast!), Aladdin X (Suika Game), Voodoo (Flappy Dunk), Lima Sky (Doodle Jump), Mojang or Microsoft (Minecraft), Maddy Makes Games (Celeste), Team Cherry (Hollow Knight), Toby Fox (Undertale), jcw87 (Bad Time Simulator), Imangi Studios (Temple Run), id Software (Doom), Edmund McMillen, Florian Himsl or Nicalis (The Binding of Isaac), PopCap Games or Electronic Arts (Plants vs. Zombies), Scott Cawthon (Five Nights at Freddy's), SEGA (Sonic the Hedgehog, Master System, Game Gear), SYBO or Kiloo (Subway Surfers), Fingersoft (Hill Climb Racing), Unept (Level Devil), Halfbrick (Jetpack Joyride), Madbox (Stickman Hook), Nintendo (Donkey Kong, Game Boy, NES), Team Lava (Dune!), Inlogic Software (Dune Rider), TinyDobbins (Monkey Mart), Playgendary (Tomb of the Mask), Mattel (UNO), the Funkin' Crew (Friday Night Funkin'), W Production (Turbo Rush), Rovio Entertainment (Angry Birds), Kodub (PolyTrack), Frank Lantz or Everybody House Games (Universal Paperclips), Atari (Pong), Disney (Tron), Orteil or DashNet (Cookie Clicker), Taito or Midway (Space Invaders), Thinking Rabbit or Falcon (Sokoban), Florian van Strien (The Final Earth 2), The Powder Toy's developers (The Powder Toy), MateoConLechuga (Portal Returns), Valve (Portal), .GEARS (Flappy Bird), Bandai Namco (Pac-Man), Hasbro (Connect Four), Google (Snake, Solitaire, Block Breaker, Chrome Dino, Doodle Champion Island Games), STUDIO4°C or Microsoft (Minesweeper), ducalex (Retro-Go). Tetris is a trademark of The Tetris Company, Chrome of Google LLC, Minecraft of Mojang Synergies AB, Pac-Man of Bandai Namco, Connect Four of Hasbro, DOOM of ZeniMax Media, Sonic the Hedgehog, Master System and Game Gear of SEGA, Space Invaders of Taito, UNO of Mattel, Angry Birds of Rovio Entertainment, and Donkey Kong, Game Boy, Game Boy Color and NES of Nintendo.</sub>
-<sub>Unofficial fan games, not affiliated with NumWorks, RobTop Games (Geometry Dash), Hipster Whale (Crossy Road), the makers of Drive Mad, LocalThunk or Playstack (Balatro), Mike Klubnika or Critical Reflex (Buckshot Roulette), Hungry Studio (Block Blast!), Aladdin X (Suika Game), Voodoo (Flappy Dunk), Lima Sky (Doodle Jump), Mojang or Microsoft (Minecraft), Maddy Makes Games (Celeste), Team Cherry (Hollow Knight), Toby Fox (Undertale), jcw87 (Bad Time Simulator), id Software (Doom), Edmund McMillen, Florian Himsl or Nicalis (The Binding of Isaac), PopCap Games or Electronic Arts (Plants vs. Zombies), Scott Cawthon (Five Nights at Freddy's), SEGA (Sonic the Hedgehog, Master System, Game Gear), SYBO or Kiloo (Subway Surfers), Fingersoft (Hill Climb Racing), Unept (Level Devil), Halfbrick (Jetpack Joyride), Madbox (Stickman Hook), Nintendo (Donkey Kong, Game Boy, NES), Team Lava (Dune!), Inlogic Software (Dune Rider), TinyDobbins (Monkey Mart), Playgendary (Tomb of the Mask), Mattel (UNO), the Funkin' Crew (Friday Night Funkin'), W Production (Turbo Rush), Rovio Entertainment (Angry Birds), Kodub (PolyTrack), Frank Lantz or Everybody House Games (Universal Paperclips), the makers of Snow Rider 3D, Ketchapp (Rider), Brodie Lockard or Activision (Shanghai), Atari (Pong), Disney (Tron), Orteil or DashNet (Cookie Clicker), Taito or Midway (Space Invaders), Thinking Rabbit or Falcon (Sokoban), Oakever Games (Meowdoku), Florian van Strien (The Final Earth 2), The Powder Toy's developers (The Powder Toy), MateoConLechuga (Portal Returns), Valve (Portal), .GEARS (Flappy Bird), Bandai Namco (Pac-Man), Hasbro (Connect Four), Google (Snake, Solitaire, Block Breaker, Chrome Dino, Doodle Champion Island Games), STUDIO4°C or Microsoft (Minesweeper), ducalex (Retro-Go). Tetris is a trademark of The Tetris Company, Chrome of Google LLC, Minecraft of Mojang Synergies AB, Pac-Man of Bandai Namco, Connect Four of Hasbro, DOOM of ZeniMax Media, Sonic the Hedgehog, Master System and Game Gear of SEGA, Space Invaders of Taito, UNO of Mattel, Angry Birds of Rovio Entertainment, and Donkey Kong, Game Boy, Game Boy Color and NES of Nintendo.</sub>
++<sub>Unofficial fan games, not affiliated with NumWorks, RobTop Games (Geometry Dash), Hipster Whale (Crossy Road), the makers of Drive Mad, LocalThunk or Playstack (Balatro), Mike Klubnika or Critical Reflex (Buckshot Roulette), Hungry Studio (Block Blast!), Aladdin X (Suika Game), Voodoo (Flappy Dunk), Lima Sky (Doodle Jump), Mojang or Microsoft (Minecraft), Maddy Makes Games (Celeste), Team Cherry (Hollow Knight), Toby Fox (Undertale), jcw87 (Bad Time Simulator), Imangi Studios (Temple Run), id Software (Doom), Edmund McMillen, Florian Himsl or Nicalis (The Binding of Isaac), PopCap Games or Electronic Arts (Plants vs. Zombies), Scott Cawthon (Five Nights at Freddy's), SEGA (Sonic the Hedgehog, Master System, Game Gear), SYBO or Kiloo (Subway Surfers), Fingersoft (Hill Climb Racing), Unept (Level Devil), Halfbrick (Jetpack Joyride), Madbox (Stickman Hook), Nintendo (Donkey Kong, Game Boy, NES), Team Lava (Dune!), Inlogic Software (Dune Rider), TinyDobbins (Monkey Mart), Playgendary (Tomb of the Mask), Mattel (UNO), the Funkin' Crew (Friday Night Funkin'), W Production (Turbo Rush), Rovio Entertainment (Angry Birds), Kodub (PolyTrack), Frank Lantz or Everybody House Games (Universal Paperclips), the makers of Snow Rider 3D, Ketchapp (Rider), Brodie Lockard or Activision (Shanghai), Atari (Pong), Disney (Tron), Orteil or DashNet (Cookie Clicker), Taito or Midway (Space Invaders), Thinking Rabbit or Falcon (Sokoban), Oakever Games (Meowdoku), Florian van Strien (The Final Earth 2), The Powder Toy's developers (The Powder Toy), MateoConLechuga (Portal Returns), Valve (Portal), .GEARS (Flappy Bird), Bandai Namco (Pac-Man), Hasbro (Connect Four), Google (Snake, Solitaire, Block Breaker, Chrome Dino, Doodle Champion Island Games), STUDIO4°C or Microsoft (Minesweeper), ducalex (Retro-Go). Tetris is a trademark of The Tetris Company, Chrome of Google LLC, Minecraft of Mojang Synergies AB, Pac-Man of Bandai Namco, Connect Four of Hasbro, DOOM of ZeniMax Media, Sonic the Hedgehog, Master System and Game Gear of SEGA, Space Invaders of Taito, UNO of Mattel, Angry Birds of Rovio Entertainment, and Donkey Kong, Game Boy, Game Boy Color and NES of Nintendo.</sub>
## Gallery
@@@ -473,36 -485,41 +487,42 @@@
<td align="center"><img src="docs/media/gallery/sokoban.gif" alt="Sokoban: Microban's ninth level, pushed through to its goals"><br><a href="games/sokoban/README.md"><b>Sokoban</b></a></td>
</tr>
<tr>
+ <td align="center"><img src="docs/media/gallery/meowdoku.gif" alt="Meowdoku: a wrong cat costs a fish, the lamp crosses out what a cat rules out, the winking cat finds one more"><br><a href="games/meowdoku/README.md"><b>Meowdoku</b></a></td>
<td align="center"><img src="docs/media/gallery/retrogo.gif" alt="Retro-Go: from the Game Boy tab to the NES list, then Thwaite, a homebrew game, starts and fireworks stop the missiles"><br><a href="games/retrogo/README.md"><b>Retro-Go</b></a></td>
<td align="center"><img src="docs/media/gallery/flappydunk.gif" alt="Flappy Dunk: swishes in a row, the ball on fire"><br><a href="games/flappydunk/README.md"><b>Flappy Dunk</b></a></td>
- <td align="center"><img src="docs/media/gallery/towerblock.gif" alt="Tower Blocks: blocks dropped on the tower, the overhangs falling away"><br><a href="games/towerblock/README.md"><b>Tower Blocks</b></a></td>
</tr>
<tr>
+ <td align="center"><img src="docs/media/gallery/towerblock.gif" alt="Tower Blocks: blocks dropped on the tower, the overhangs falling away"><br><a href="games/towerblock/README.md"><b>Tower Blocks</b></a></td>
<td align="center"><img src="docs/media/gallery/coreball.gif" alt="Core Ball: every ball shot onto the spinning core, level 3 and level 4 cleared"><br><a href="games/coreball/README.md"><b>Core Ball</b></a></td>
<td align="center"><img src="docs/media/gallery/doodlejump.gif" alt="Doodle Jump: the doodler climbs past blue platforms and a monster"><br><a href="games/doodlejump/README.md"><b>Doodle Jump</b></a></td>
- <td align="center"><img src="docs/media/jetpackjoyride.gif" alt="Jetpack Joyride: Barry grabs coins and rides the Profit Bird until it hits a zapper, then flies on past a missile"><br><a href="games/jetpackjoyride/README.md"><b>Jetpack Joyride</b></a></td>
</tr>
<tr>
+ <td align="center"><img src="docs/media/jetpackjoyride.gif" alt="Jetpack Joyride: Barry grabs coins and rides the Profit Bird until it hits a zapper, then flies on past a missile"><br><a href="games/jetpackjoyride/README.md"><b>Jetpack Joyride</b></a></td>
<td align="center"><img src="docs/media/stickmanhook.gif" alt="Stickman Hook: two levels swung from hook to hook, each over the finish line"><br><a href="games/stickmanhook/README.md"><b>Stickman Hook</b></a></td>
<td align="center"><img src="docs/media/donkeykong.gif" alt="Donkey Kong: Mario climbs the 25m girders past rolling barrels to Pauline"><br><a href="games/donkeykong/README.md"><b>Donkey Kong</b></a></td>
- <td align="center"><img src="docs/media/dune.gif" alt="Dune: the ball rolls down the dunes, flies over the line for coins and lands Perfect Slides"><br><a href="games/dune/README.md"><b>Dune</b></a></td>
</tr>
<tr>
+ <td align="center"><img src="docs/media/dune.gif" alt="Dune: the ball rolls down the dunes, flies over the line for coins and lands Perfect Slides"><br><a href="games/dune/README.md"><b>Dune</b></a></td>
<td align="center"><img src="docs/media/monkeymart.gif" alt="Monkey Mart: the monkey carries bananas and milk to the shelves while the customers shop"><br><a href="games/monkeymart/README.md"><b>Monkey Mart</b></a></td>
<td align="center"><img src="docs/media/tombofthemask.gif" alt="Tomb of the Mask: dashing up the tomb ahead of the rising flood"><br><a href="games/tombofthemask/README.md"><b>Tomb of the Mask</b></a></td>
- <td align="center"><img src="docs/media/uno.gif" alt="UNO: a hand against three bots, a Draw Two and a colour called"><br><a href="games/uno/README.md"><b>UNO</b></a></td>
</tr>
<tr>
+ <td align="center"><img src="docs/media/uno.gif" alt="UNO: a hand against three bots, a Draw Two and a colour called"><br><a href="games/uno/README.md"><b>UNO</b></a></td>
<td align="center"><img src="docs/media/fnf.gif" alt="Friday Night Funkin': Ready, Set, Go, then the first notes of a song"><br><a href="games/fnf/README.md"><b>Friday Night Funkin'</b></a></td>
<td align="center"><img src="docs/media/turborush.gif" alt="Turbo Rush: racing along Sunset Coast, passing rivals before a bend"><br><a href="games/turborush/README.md"><b>Turbo Rush</b></a></td>
- <td align="center"><img src="docs/media/angrybirds.gif" alt="Angry Birds: the first level, aimed, fired and knocked down with one bird"><br><a href="games/angrybirds/README.md"><b>Angry Birds</b></a></td>
</tr>
<tr>
+ <td align="center"><img src="docs/media/angrybirds.gif" alt="Angry Birds: the first level, aimed, fired and knocked down with one bird"><br><a href="games/angrybirds/README.md"><b>Angry Birds</b></a></td>
<td align="center"><img src="docs/media/gallery/polytrack.gif" alt="PolyTrack: Desert 4, through the tube and on to the finish"><br><a href="games/polytrack/README.md"><b>PolyTrack</b></a></td>
<td align="center"><img src="docs/media/gallery/paperclips.gif" alt="Universal Paperclips: the first clips, a strategy tournament, the HypnoDrones, a battle against the drifters and the last clips"><br><a href="games/paperclips/README.md"><b>Universal Paperclips</b></a></td>
+ </tr>
+ <tr>
<td align="center"><img src="docs/media/gallery/badtime.gif" alt="Bad Time Simulator: Sans slams the blue heart into bones, then Gaster Blasters fire across the box"><br><a href="games/badtime/README.md"><b>Bad Time Simulator</b></a></td>
+ <td align="center"><img src="docs/media/gallery/mahjong.gif" alt="Mahjong: pairs taken from the Turtle, a hint lights up two tiles, then a pair is undone"><br><a href="games/mahjong/README.md"><b>Mahjong</b></a></td>
+ <td align="center"><img src="docs/media/gallery/rider.gif" alt="Rider: the endless run, jumps off glowing ramps with double flips and perfect landings"><br><a href="games/rider/README.md"><b>Rider</b></a></td>
</tr>
<tr>
+ <td align="center"><img src="docs/media/gallery/snowrider.gif" alt="Snow Rider 3D: sledding through the snowmen and stumps"><br><a href="games/snowrider/README.md"><b>Snow Rider 3D</b></a></td>
+ <td align="center"><img src="docs/media/gallery/templerun.gif" alt="Temple Run: a run along the temple path, a corner, a gap jumped, coins"><br><a href="games/templerun/README.md"><b>Temple Run</b></a></td>
</tr>
</table>
diff --cc _config.yml
index 7f156ef0,73970e9e..797613e8
--- a/_config.yml
+++ b/_config.yml
@@@ -1,5 -1,5 +1,5 @@@
title: NumPlay
- description: "29 games for the NumWorks calculator in one app: NumDash, Crossy Road, NumBlocks, NumDrive, Balatro, Buckshot Roulette, Block Blast, Suika Game, Portal Returns, Tetris, Chrome Dino, Chess, Space Invaders, Sudoku and more. And Doom, Sonic, Temple Run, Plants vs. Zombies, Cookie Clicker and more on their own. Free and open source, with a kit to make your own NumWorks games in C."
-description: "29 games for the NumWorks calculator in one app: NumDash, Crossy Road, NumBlocks, NumDrive, Balatro, Buckshot Roulette, Block Blast, Suika Game, Portal Returns, Tetris, Chrome Dino, Chess, Space Invaders, Sudoku and more. And Doom, Sonic, Plants vs. Zombies, Cookie Clicker, Mahjong, Meowdoku, Rider, Snow Rider 3D and more on their own. Free and open source, with a kit to make your own NumWorks games in C."
++description: "29 games for the NumWorks calculator in one app: NumDash, Crossy Road, NumBlocks, NumDrive, Balatro, Buckshot Roulette, Block Blast, Suika Game, Portal Returns, Tetris, Chrome Dino, Chess, Space Invaders, Sudoku and more. And Doom, Sonic, Plants vs. Zombies, Cookie Clicker, Mahjong, Meowdoku, Rider, Snow Rider 3D, Temple Run and more on their own. Free and open source, with a kit to make your own NumWorks games in C."
url: https://mason363.github.io
baseurl: /NumPlay
theme: jekyll-theme-cayman
diff --cc docs/play.md
index 893b56d5,2987d46a..a998c6fb
--- a/docs/play.md
+++ b/docs/play.md
@@@ -679,21 -695,29 +695,44 @@@ Sans attacks and you dodge. Keep your h
<br clear="right">
+ ## Rider
+
+ <img src="../games/rider/docs/shot.png" width="320" align="right" alt="Rider">
+
+ | Key | What it does |
+ | --- | --- |
+ | **OK**, **EXE** or **Up** (hold) | Ride, and flip in the air |
+ | **Arrows** | Choose in the menus |
+ | **Back** | Pause (with Resume, How to play and Quit game) |
+ | **Home** | Save and quit |
+
+ Hold the button and the bike speeds up. In the air, holding it turns the bike backwards: a flip. Let go so that it lands on both wheels, or it breaks. In the endless run each landed flip is a point and gems win new bikes. In the 48 levels, reach the end fast for three stars: each flip takes half a second off.
+ ## Snow Rider 3D
+
+ <img src="../games/snowrider/docs/shot.png" width="320" align="right" alt="Snow Rider 3D">
+
+ | Key | What it does |
+ | --- | --- |
+ | **Left, Right** | Steer |
+ | **Up, OK** | Jump (held, again on landing) |
+ | **Back** | Pause (with Restart and Quit game) |
+
+ The sled slides down the endless slope by itself, faster and faster. Steer around the trees, rocks, snowmen, stumps and walls: one hit and it breaks. Fences and signs break as you ride through them. Every 10 metres is a point. Past 10 points come tunnels, cracks to jump and floating islands, and giant snowballs roll across. Gifts on the slope buy new sleds at the camp. Your best score, gifts and sleds are saved.
+## Temple Run
+
+<img src="../games/templerun/docs/shot.png" width="320" align="right" alt="Temple Run: running along the temple path">
+
+| Key | What it does |
+| --- | --- |
+| **Left / Right** | Turn at a corner |
+| **Up** or **8** | Jump |
+| **Down** or **2** | Slide |
+| **4 / 6** (or **shift** with the arrows) | Lean, held |
+| **OK** | Wings (in a run), choose, buy |
+| **1 / 3** | Head start, mega head start (at the start) |
+| **Back** | Pause (with How to play and Quit game) |
+
+Temple Run comes as its own app, `TempleRun.nwa`. Run from the temple and don't stop: turn at every corner, jump gaps, roots and fallen trees, slide under branches, jump or slide past the fire, and lean along narrow paths. Jump up to the cliffs. Trip once and your pursuers catch up; trip again soon and they get you. Coins buy upgrades for the four power-ups in the store, and each objective done raises your score multiplier.
<br clear="right">
diff --cc games/games.json
index 1000a77d,d6e7899c..06b8c556
--- a/games/games.json
+++ b/games/games.json
@@@ -1257,25 -1277,67 +1277,88 @@@
"default": false,
"xl": true
},
+ {
+ "id": "mahjong",
+ "rank": 15,
+ "title": "Mahjong",
+ "tagline": "Match free tiles, clear the board",
+ "credit": "Layouts from KMahjongg",
+ "top": "0x23774D",
+ "bottom": "0x0E3524",
+ "accent": "0xFFC93C",
+ "colors": 16,
+ "records": [
+ "mahjong.sav",
+ "mahjong_saves.py"
+ ],
+ "shots": [
+ "docs/shot.png"
+ ],
+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/mahjong",
+ "default": false,
+ "xl": true
+ },
+ {
+ "id": "rider",
+ "rank": 30,
+ "title": "Rider",
+ "tagline": "Ride, flip, land on both wheels",
+ "credit": "Inspired by Rider by Ketchapp",
+ "top": "0x1E3436",
+ "bottom": "0x0C1517",
+ "accent": "0x00E8EB",
+ "colors": 16,
+ "records": [
+ "rider.sav",
+ "rider_saves.py"
+ ],
+ "shots": [
+ "docs/shot.png"
+ ],
+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/rider",
+ "default": false,
+ "xl": true
+ },
+ {
+ "id": "snowrider",
+ "rank": 31,
+ "title": "Snow Rider 3D",
+ "tagline": "Sled down the endless slope",
+ "credit": "Based on Snow Rider 3D",
+ "top": "0x8CC8F0",
+ "bottom": "0x2A4A6E",
+ "accent": "0xD8343A",
+ "colors": 16,
+ "records": [
+ "snowrider.sav",
+ "snowrider_saves.py"
+ ],
+ "shots": [
+ "docs/shot.png"
+ ],
+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/snowrider",
+ "default": false,
+ "xl": true
++ },
+ {
+ "id": "templerun",
- "rank": 29,
++ "rank": 32,
+ "title": "Temple Run",
+ "tagline": "Run from the temple, turn, jump, slide",
+ "credit": "Based on Temple Run by Imangi Studios",
+ "top": "0x6FA6D2",
+ "bottom": "0x2B4A30",
+ "accent": "0xFFD21E",
+ "colors": 16,
+ "records": [
+ "templerun.sav",
+ "templerun_saves.py"
+ ],
+ "shots": [
+ "docs/shot.png"
+ ],
+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/templerun",
+ "default": false,
+ "xl": true
}
]
diff --cc tests/test_games.py
index 9da4ee81,ddee0dba..86afe1fc
--- a/tests/test_games.py
+++ b/tests/test_games.py
@@@ -279,10 -283,19 +283,23 @@@ GAMES =
"badtime": ("BadTimeSimulator.nwa", "badtime.sav",
presses((1500, "ok"), (2200, "ok"), (2900, "ok"), (3600, "ok"), (5000, "ok")), 6500,
presses((1500, "ok")), 4000),
+ # how to play read, the Turtle dealt, a tile picked; Home keeps the game. Next time, from the copy, it goes on: the
+ # cursor moved, quit with On/Off
+ "mahjong": ("Mahjong.nwa", "mahjong.sav", presses((1500, "ok"), (2200, "ok"), (3000, "ok")), 4000,
+ presses((1500, "right"), (2000, "ok")), 3000),
+ # how to play (the first time: OK closes it), the menu's Play, then OK held to ride and flip, Back to pause;
+ # Home keeps the guide read and the time played. Next time, from the copy, Play straight away, quit with On/Off
+ "rider": ("Rider.nwa", "rider.sav",
+ presses((1500, "ok"), (2200, "ok"), (6000, "back")) + [(2800, 5500, K["ok"])], 7000,
+ presses((1500, "ok")) + [(2000, 3500, K["ok"])], 4500),
+ # the title, Play, how to play (the first time), then the ride: steering, Back to pause, Home. Next time, from
+ # the copy, Play straight into the ride (the guide was read), quit with On/Off
+ "snowrider": ("SnowRider3D.nwa", "snowrider.sav", presses((1500, "ok"), (2200, "ok"), (2900, "ok"), (6500, "back"))
+ + [(4200, 4500, K["left"])], 8000, presses((1500, "ok"), (2200, "ok")), 5000),
+ # how to play (the first time), the title's Run: a run with no one playing, until it ends; Home keeps it. Next
+ # time, from the copy, straight from the title into another run, quit with On/Off
+ "templerun": ("TempleRun.nwa", "templerun.sav", presses((1500, "ok"), (2200, "ok")), 9000,
+ presses((1500, "ok")), 4000),
# a level, its message, then play; then back to the level select
"portal": ("PortalReturns.nwa", "portal.sav",
presses((1500, "ok"), (2500, "ok"), (3500, "ok")) + every(4000, 7000, 400, "right", 300), 8000,
@@@ -351,7 -364,8 +368,8 @@@ COPIES = {"championisland": "champion_s
"tombofthemask": "tombofthemask_saves.py", "uno": "uno_saves.py",
"fnf": "fnf_saves.py", "turborush": "turborush_saves.py",
"angrybirds": "angrybirds_saves.py", "polytrack": "polytrack_saves.py", "paperclips": "paperclips_saves.py",
- "badtime": "badtime_saves.py", "templerun": "templerun_saves.py"}
+ "badtime": "badtime_saves.py", "mahjong": "mahjong_saves.py",
- "rider": "rider_saves.py", "snowrider": "snowrider_saves.py"}
++ "rider": "rider_saves.py", "snowrider": "snowrider_saves.py", "templerun": "templerun_saves.py"}
def paperclips_ok(v):
@@@ -557,10 -594,18 +598,22 @@@ CHECKS =
# "BTS1", version 1, its size (24): how to play read (guide at 9), the first attack reached (best at 8); after the
# reinstall, from the copy, the same
"badtime": (lambda v: badtime_ok(v) and v[9] == 1 and v[8] >= 1,) * 2,
+ # "M", version 1: how to play read and a Turtle being played (flags 3 at 2, the layout at 3), its time at 8; after
+ # the reinstall, from the copy, it goes on
+ "mahjong": (lambda v: mahjong_ok(v) and v[2] == 3 and v[3] == 0 and struct.unpack_from("<I", v, 8)[0] > 0,
+ lambda v: mahjong_ok(v) and v[2] == 3 and struct.unpack_from("<I", v, 8)[0] > 1000),
+ # 0x52445231, version 1: how to play read (flags at 6), time played (16); after the reinstall, from the copy, more
+ "rider": (lambda v: rider_ok(v) and v[6] & 1 and struct.unpack_from("<I", v, 16)[0] >= 4000,
+ lambda v: rider_ok(v) and v[6] & 1 and struct.unpack_from("<I", v, 16)[0] >= 7000),
+ # "SNR1", version 1, its size (32): how to play read (23), one run (16), the Toboggan only (owned at 20, skin at
+ # 22); after the reinstall, from the copy, a second run
+ "snowrider": (lambda v: len(v) == 32 and v[:4] == b"SNR1" and struct.unpack_from("<HH", v, 4) == (1, 32)
+ and v[23] == 1 and struct.unpack_from("<I", v, 16)[0] == 1 and v[20:23] == b"\1\0\0",
+ lambda v: len(v) == 32 and v[:4] == b"SNR1" and v[23] == 1 and struct.unpack_from("<I", v, 16)[0] == 2),
+ # "TNR1", version 1, its size (48): a run played (runs at 24), a best score (16); then a second run
+ "templerun": (lambda v: v[:4] == b"TNR1" and struct.unpack_from("<2I", v, 4) == (1, 48)
+ and struct.unpack_from("<I", v, 24)[0] == 1 and struct.unpack_from("<I", v, 16)[0] > 0,
+ lambda v: v[:4] == b"TNR1" and struct.unpack_from("<I", v, 24)[0] == 2),
"breakout": (lambda v: len(v) == 12 and v[:2] == b"B\2" and v[4] == 1 and struct.unpack_from("<I", v, 8)[0] >= 10,
lambda v: v[4] == 0 and struct.unpack_from("<I", v, 8)[0] >= 1), # best kept, shake off
# Air Hockey and the easy computer chosen; then the normal computer and Tanks, the tallies of the six games kept
diff --cc tools/release.py
index 904bd668,a8823906..b516b9ba
--- a/tools/release.py
+++ b/tools/release.py
@@@ -54,8 -55,10 +55,11 @@@ ALONE =
"angrybirds": ("Angry Birds", "the 429 levels of the Chrome edition, its seven birds and the Mighty Eagle"),
"polytrack": ("PolyTrack", "Kodub's low-poly time trial racer: its 17 tracks, loops, wall rides and jumps, against your ghost"),
"paperclips": ("Universal Paperclips", "Frank Lantz's game of an AI making paperclips: business, the Earth, then the universe"),
- "badtime": ("Bad Time Simulator", "the Judge's fight: 24 attacks of bones, gavels and the blue heart, after jcw87's Bad Time Simulator"),
+ "badtime": ("Bad Time Simulator", "the Sans fight: 24 attacks of bones, Gaster Blasters and the blue heart, after jcw87's Bad Time Simulator"),
+ "mahjong": ("Mahjong", "Mahjong solitaire: 144 tiles in the Turtle, the Dragon, the Crab and the Spider, every deal winnable"),
+ "rider": ("Rider", "Ketchapp's neon motorbike game: the endless run, 48 levels and 55 bikes, one button to ride and flip"),
+ "snowrider": ("Snow Rider 3D", "the endless sled run: its slope, sleds, gifts and crashes, read from the game's own Unity project"),
+ "templerun": ("Temple Run", "the endless run from the temple: turn, jump, slide and lean, with the game's rules and numbers"),
}
VARIANTS = [
("NumPlay-Invisible.nwa", "The same app, hidden: a blank icon with no name"),