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.
C calculatorcalculator-gamescasiochesscrossy-roaddrive-madfx-cg50gamesgeometry-dashgraphing-calculatorndlessnumworksnumworks-appsnumworks-calculatornumworks-gamenumworks-gamestetristi-84-plus-ceti-nspire
Merge remote-tracking branch 'origin/main' into snowrider
Mason363522f059cfc27
diff --cc .github/workflows/build.ymlindex 715f78f5,6f236cda..7b5fc0df--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@@ -92,7 -93,8 +93,9 @@@ jobsmake -C games/turborush host test BUILD_DIR=../../build/data/games/turborushmake -C games/angrybirds host testmake -C games/polytrack host test+ make -C games/paperclips host test+ make -C games/badtime host test+ make -C games/snowrider host testdiff --cc Makefileindex a4870929,75495277..d2cef350--- a/Makefile+++ b/Makefile@@@ -18,7 -18,7 +18,7 @@@ PY ?= pythonCARGO ?= cargoB = build/data# Conventional games honor a configurable output directory; special layouts are kept local.- GAMES_REDIRECT = angrybirds 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 polytrack portal pvz 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 minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz snake 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 minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz snake snowrider sokoban solitaire sonic stickmanhook subway sudoku suika tombofthemask towerblock turborush twoplayer undertale uno utttGAMES_OUT = dinorunGAME_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 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++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 SnowRider3D# 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 SnowRider3D-APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator++APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator SnowRider3D# 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@@@ -327,7 -327,8 +327,9 @@@ APP_fnf = $(B)/games/fnf/fnf.nwa:FridayAPP_turborush = $(B)/games/turborush/turborush.nwa:TurboRush.nwaAPP_angrybirds = $(B)/games/angrybirds/angrybirds.nwa:AngryBirds.nwaAPP_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_snowrider = $(B)/games/snowrider/snowrider.nwa:SnowRider3D.nwa# the big games' modules are made from these (the kit)$(foreach g,$(XL_GAMES),$(eval MOD_$(g) = $$(word 1,$$(subst :, ,$$(APP_$(g))))))@@@ -366,7 -367,8 +368,9 @@@ apps: | $(B$(MAKE) -C games/turborush build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/turborush$(MAKE) -C games/angrybirds build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/angrybirds$(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/snowrider build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/snowridercd games/tetris/tetris && NWLINK="$(NWLINK)" $(CARGO) build --release --quietcp $(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)))@@@ -403,7 -405,8 +407,9 @@@cp $(word 1,$(subst :, ,$(APP_turborush))) $(B)/apps/$(word 2,$(subst :, ,$(APP_turborush)))cp $(word 1,$(subst :, ,$(APP_angrybirds))) $(B)/apps/$(word 2,$(subst :, ,$(APP_angrybirds)))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_snowrider))) $(B)/apps/$(word 2,$(subst :, ,$(APP_snowrider)))arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwaSTD_APPS = $(foreach g,$(STD_GAMES),$(B)/apps/$(NWA_$(g)))@@@ -481,6 -484,7 +487,8 @@@ clean-$(MAKE) -C games/turborush clean-$(MAKE) -C games/angrybirds clean-$(MAKE) -C games/polytrack clean+ -$(MAKE) -C games/paperclips clean+ -$(MAKE) -C games/badtime clean+ -$(MAKE) -C games/snowrider clean-cd games/tetris/tetris && $(CARGO) clean-$(foreach g,$(STD_GAMES),$(MAKE) -C games/$(g) clean;)diff --cc README.mdindex fa8ce70b,d18d9568..c7859200--- 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 27 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.- Plus 28 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.++ Plus 29 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.</p><p align="center">@@@ -137,11 -137,14 +137,15 @@@ These are too big to fit next to NumPla<tr><td align="center"><a href="games/angrybirds/README.md"><img src="docs/media/thumb_angrybirds.png" width="200" alt="Angry Birds"><br><b>Angry Birds</b></a><br><sub>The Chrome edition: 429 levels, seven birds and the Mighty Eagle</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/AngryBirds.nwa">Download</a></td><td align="center"><a href="games/polytrack/README.md"><img src="docs/media/thumb_polytrack.png" width="200" alt="PolyTrack"><br><b>PolyTrack</b></a><br><sub>Time trials on all 17 tracks, loops and wall rides included</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/PolyTrack.nwa">Download</a></td>- <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/paperclips/README.md"><img src="docs/media/thumb_paperclips.png" width="200" alt="Universal Paperclips"><br><b>Universal Paperclips</b></a><br><sub>An AI making paperclips, from the first clip to the whole universe</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/UniversalPaperclips.nwa">Download</a></td></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/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="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>@@@ -358,7 -370,8 +371,9 @@@ NumPlay is a fan project, made out of l- **[Turbo Rush](https://jeux.w-production.fr/#/jeu/turborush)** by W Production inspired NumPlay's Turbo Rush, an arcade racer of its own written in C for NumPlay, with circuits, cars and landscapes made for it. **Bobydeluxe** brought it to NumPlay. Not affiliated with W Production.- **Angry Birds** by Rovio Entertainment inspired NumPlay's Angry Birds, which plays the Chrome edition's 429 levels with its own pictures, read from its web build, and follows its rules and numbers. Its physics is **Box2D 2.2.1** by Erin Catto (zlib license, [license](games/angrybirds/src/box2d/License.txt)), the engine the game runs on. **Bobydeluxe** brought it to NumPlay. Not affiliated with Rovio.- **[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.+- **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)). Not affiliated with its makers.- **[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.@@@ -387,7 -400,7 +402,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), the makers of Snow Rider 3D, 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), 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), 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), 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, 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>## Gallery@@@ -484,6 -497,7 +499,10 @@@</tr><tr><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/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></tr></table>diff --cc docs/play.mdindex 2e078374,cf52f6e7..9f2a034c--- a/docs/play.md+++ b/docs/play.md@@@ -647,20 -647,38 +647,52 @@@ Drive each track as fast as you can, th<br clear="right">+ ## Universal Paperclips++ <img src="../games/paperclips/docs/shot.png" width="320" align="right" alt="Universal Paperclips">++ | Key | What it does |+ | --- | --- |+ | **Up, Down** | Choose a button |+ | **Left, Right** | Go to another panel |+ | **OK** or **EXE** | Press the button in the blue frame (hold it to press again and again) |+ | **Back** | Pause (with Resume, How to play and Quit game) |+ | **Home** | Save and quit |++ You are an AI that makes paperclips. Make them, sell them, buy wire, AutoClippers and Marketing, and set the price. Production targets earn Trust for Processors and Memory, which make operations for Projects. From there the game opens up one panel at a time: investments, strategy tournaments, quantum computing, then the Earth, then the universe. Your game is saved as you go, and copied into `paperclips_saves.py`.++ <br clear="right">++ ## Bad Time Simulator++ <img src="../games/badtime/docs/shot.png" width="320" align="right" alt="Bad Time Simulator">++ | Key | What it does |+ | --- | --- |+ | **Arrows** | Move the heart |+ | **Up** (blue heart) | Jump, higher while held |+ | **shift** (hold) | Move slowly |+ | **OK** | Choose, strike, read on |+ | **Back** | Pause (with How to play and Quit game) |++ Sans attacks and you dodge. Keep your heart away from everything in the box: white bones always hurt, blue ones only if you move, orange ones only if you stand still. When the heart turns blue it falls, and Up jumps. Between attacks pick FIGHT, ACT, ITEM or MERCY. Survive all 24 attacks to win. Practice, Endless and Single attack let you train.++ <br clear="right">++## 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.++<br clear="right">+## Portal Returns<img src="media/portal.gif" width="320" align="right" alt="Portal Returns: falling through a portal and flying across a test chamber">diff --cc games/games.jsonindex 950fdd55,65f808d5..1065fa71--- a/games/games.json+++ b/games/games.json@@@ -1215,25 -1215,46 +1215,67 @@@"default": false,"xl": true},+ {+ "id": "paperclips",+ "rank": 27,+ "title": "Universal Paperclips",+ "tagline": "Turn everything into paperclips",+ "credit": "Based on Universal Paperclips by Frank Lantz",+ "top": "0x8E96A3",+ "bottom": "0x24282F",+ "accent": "0xE9EDF3",+ "colors": 16,+ "records": [+ "paperclips.sav",+ "paperclips_saves.py"+ ],+ "shots": [+ "docs/shot.png"+ ],+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/paperclips",+ "default": false,+ "xl": true+ },+ {+ "id": "badtime",+ "rank": 28,+ "title": "Bad Time Simulator",+ "tagline": "Dodge the Judge's 24 attacks",+ "credit": "Inspired by Bad Time Simulator by jcw87 and Undertale by Toby Fox",+ "top": "0x2A1018",+ "bottom": "0x050306",+ "accent": "0xFF2020",+ "colors": 16,+ "records": [+ "badtime.sav",+ "badtime_saves.py"+ ],+ "shots": [+ "docs/shot.png"+ ],+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/badtime",+ "default": false,+ "xl": true++ },+ {+ "id": "snowrider",- "rank": 23,++ "rank": 32,+ "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}]diff --cc tests/test_games.pyindex 5022ea1b,4aabcb01..1942be72--- a/tests/test_games.py+++ b/tests/test_games.py@@@ -268,10 -268,17 +268,21 @@@ GAMES ="polytrack": ("PolyTrack.nwa", "polytrack.sav",presses((1500, "ok"), (2200, "ok"), (2900, "ok"), (3600, "ok"), (4300, "ok"), (9500, "back"))+ [(5000, 9000, K["up"])], 11000, presses((1500, "ok"), (2200, "ok")) + [(3000, 6500, K["up"])], 7500),+ # how to play (the first time: OK starts), then Make Paperclip held, Back to pause (that saves); Home keeps the+ # clips. Next time, from the copy, no guide: a clip more, quit with On/Off+ "paperclips": ("UniversalPaperclips.nwa", "paperclips.sav",+ presses((1500, "ok"), (4500, "back")) + [(2200, 4000, K["ok"])], 6000,+ presses((1500, "ok"), (2000, "ok")), 4000),+ # the title's Normal, how to play (the first time: three pages, OK starts), then the fight: the Judge's first+ # words read; Home keeps the guide read and the first attack reached. Next time, from the copy, Normal starts at+ # once, quit with On/Off+ "badtime": ("BadTimeSimulator.nwa", "badtime.sav",+ presses((1500, "ok"), (2200, "ok"), (2900, "ok"), (3600, "ok"), (5000, "ok")), 6500,+ presses((1500, "ok")), 4000),+ # 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),# 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,@@@ -339,10 -346,30 +350,31 @@@ COPIES = {"championisland": "champion_s"donkeykong": "donkeykong_saves.py", "dune": "dune_saves.py", "monkeymart": "monkeymart_saves.py","tombofthemask": "tombofthemask_saves.py", "uno": "uno_saves.py","fnf": "fnf_saves.py", "turborush": "turborush_saves.py",- "angrybirds": "angrybirds_saves.py", "polytrack": "polytrack_saves.py",+ "angrybirds": "angrybirds_saves.py", "polytrack": "polytrack_saves.py", "paperclips": "paperclips_saves.py",- "badtime": "badtime_saves.py"}++ "badtime": "badtime_saves.py",+ "snowrider": "snowrider_saves.py"}+ def paperclips_ok(v):+ """Universal Paperclips' save: "UPC1", version 1, 3400 bytes, an FNV-1a sum of the rest at the end"""+ if len(v) != 3400 or v[:4] != b"UPC1" or struct.unpack_from("<HH", v, 4) != (1, 3400):+ return False+ h = 2166136261+ for x in v[:-4]:+ h = (h ^ x) * 16777619 & 0xFFFFFFFF+ return struct.unpack_from("<I", v, len(v) - 4)[0] == h+++ def badtime_ok(v):+ """Bad Time Simulator's save: "BTS1", version 1, 24 bytes, an FNV-1a sum of the rest at the end"""+ if len(v) != 24 or v[:4] != b"BTS1" or struct.unpack_from("<HH", v, 4) != (1, 24):+ return False+ h = 2166136261+ for x in v[:-4]:+ h = (h ^ x) * 16777619 & 0xFFFFFFFF+ return struct.unpack_from("<I", v, 20)[0] == h++def polytrack_ok(v):"""PolyTrack's save: "PTK1", version 1, 768 bytes, an FNV-1a sum of the rest at the end"""if len(v) != 768 or v[:4] != b"PTK1" or struct.unpack_from("<HH", v, 4) != (1, 768):@@@ -519,11 -546,13 +551,18 @@@ CHECKS =# after the reinstall, from the copy, the same"polytrack": (lambda v: polytrack_ok(v) and v[763] == 1 and v[760] == 0,lambda v: polytrack_ok(v) and v[763] == 1),+ # "UPC1", version 1, its size (3400): how to play shown (guide at 8), clips made (the first number, at 12); after the+ # reinstall, from the copy, one more+ "paperclips": (lambda v: paperclips_ok(v) and v[8] == 1 and struct.unpack_from("<d", v, 12)[0] >= 10,+ lambda v: paperclips_ok(v) and v[8] == 1 and struct.unpack_from("<d", v, 12)[0] >= 11),+ # "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,+ # "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),"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 keptdiff --cc tools/release.pyindex 90bf49cc,128888eb..f9c04f6c--- a/tools/release.py+++ b/tools/release.py@@@ -53,7 -53,8 +53,9 @@@ ALONE ="turborush": ("Turbo Rush", "an arcade racer by Bobydeluxe: six circuits, a Grand Prix, single races and Free Ride"),"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"),+ "snowrider": ("Snow Rider 3D", "the endless sled run: its slope, sleds, gifts and crashes, read from the game's own Unity project"),}VARIANTS = [("NumPlay-Invisible.nwa", "The same app, hidden: a blank icon with no name"),