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
NumPico: in games.json, the Makefile and the release
Mason36356d320f08c9c
diff --git a/Makefile b/Makefileindex e68304c1..182dc678 100644--- a/Makefile+++ b/Makefile@@ -18,7 +18,7 @@ PY ?= python3CARGO ?= cargoB = build/data# Conventional games honor a configurable output directory; special layouts are kept local.-GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot catninja celeste championisland chess clashroyale connectfour cookieclicker coreball deltarune dinorun donkeykong doodlejump doom dune famidash finalearth2 flappybird flappydunk fnaf fnaf2 fnaf3 fnaf4 fnafworld fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride kingdomrush leveldevil mahjong meowdoku minesweeper monkeymart mrbullet numblocks numpowder numvisuals pacman paperclips polytrack portal pvz rider snake snowrider sokoban solitaire sonic stickmanhook subway sudoku suika templerun tombofthemask towerblock twoplayer undertale uno uttt+GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot catninja celeste championisland chess clashroyale connectfour cookieclicker coreball deltarune dinorun donkeykong doodlejump doom dune famidash finalearth2 flappybird flappydunk fnaf fnaf2 fnaf3 fnaf4 fnafworld fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride kingdomrush leveldevil mahjong meowdoku minesweeper monkeymart mrbullet numblocks numpico numpowder numvisuals pacman paperclips polytrack portal pvz rider snake snowrider sokoban solitaire sonic stickmanhook subway sudoku suika templerun tombofthemask towerblock 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 @@ RAM_LIMIT = 148928# 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 AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong Rider SnowRider3D TempleRun FiveNightsAtFreddys2 FiveNightsAtFreddys3 FiveNightsAtFreddys4 Famidash ClashRoyale UniversalPaperclips-French CatNinja KingdomRush Deltarune FiveNightsAtFreddysWorld MrBullet+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 AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator Mahjong Rider SnowRider3D TempleRun FiveNightsAtFreddys2 FiveNightsAtFreddys3 FiveNightsAtFreddys4 Famidash ClashRoyale UniversalPaperclips-French CatNinja KingdomRush Deltarune FiveNightsAtFreddysWorld MrBullet NumPico# 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 @@ XL_APP_SPACE = 6291456# 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 AngryBirds PolyTrack UniversalPaperclips UniversalPaperclips-French BadTimeSimulator Mahjong SnowRider3D TempleRun Famidash CatNinja MrBullet+APP_SPACE_APPS = HillClimbRacing FridayNightFunkin AngryBirds PolyTrack UniversalPaperclips UniversalPaperclips-French BadTimeSimulator Mahjong SnowRider3D TempleRun Famidash CatNinja MrBullet NumPico# 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@@ -341,9 +341,12 @@ APP_clashroyale = $(B)/games/clashroyale/clashroyale.nwa:ClashRoyale.nwaAPP_catninja = $(B)/games/catninja/catninja.nwa:CatNinja.nwaAPP_kingdomrush = $(B)/games/kingdomrush/kingdomrush.nwa:KingdomRush.nwaAPP_mrbullet = $(B)/games/mrbullet/mrbullet.nwa:MrBullet.nwa+APP_numpico = $(B)/games/numpico/numpico.nwa:NumPico.nwaAPP_deltarune = $(B)/games/deltarune/deltarune.nwa:Deltarune.nwa# the big games' modules are made from these (the kit)$(foreach g,$(XL_GAMES),$(eval MOD_$(g) = $$(word 1,$$(subst :, ,$$(APP_$(g))))))+# (NumPico's leaves its table of carts to NumPlay Studio, which links the carts dropped on it in its block)+MOD_numpico = $(B)/games/numpico/module.nwaapps: | $(B)$(MAKE) -C games/numdash build NWLINK="node node_modules/nwlink/bin/nwlink"@@ -394,6 +397,7 @@ apps: | $(B)$(MAKE) -C games/catninja build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/catninja$(MAKE) -C games/kingdomrush build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/kingdomrush$(MAKE) -C games/mrbullet build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/mrbullet+ $(MAKE) -C games/numpico build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/numpico$(MAKE) -C games/deltarune build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/deltarunecd games/tetris/tetris && NWLINK="$(NWLINK)" $(CARGO) build --release --quietcp $(word 1,$(subst :, ,$(APP_numdash))) $(B)/apps/$(word 2,$(subst :, ,$(APP_numdash)))@@ -446,6 +450,7 @@ apps: | $(B)cp $(word 1,$(subst :, ,$(APP_catninja))) $(B)/apps/$(word 2,$(subst :, ,$(APP_catninja)))cp $(word 1,$(subst :, ,$(APP_kingdomrush))) $(B)/apps/$(word 2,$(subst :, ,$(APP_kingdomrush)))cp $(word 1,$(subst :, ,$(APP_mrbullet))) $(B)/apps/$(word 2,$(subst :, ,$(APP_mrbullet)))+ cp $(word 1,$(subst :, ,$(APP_numpico))) $(B)/apps/$(word 2,$(subst :, ,$(APP_numpico)))cp $(word 1,$(subst :, ,$(APP_deltarune))) $(B)/apps/$(word 2,$(subst :, ,$(APP_deltarune)))arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwa@@ -538,6 +543,7 @@ clean:-$(MAKE) -C games/catninja clean-$(MAKE) -C games/kingdomrush clean-$(MAKE) -C games/mrbullet clean+ -$(MAKE) -C games/numpico clean-$(MAKE) -C games/deltarune clean-cd games/tetris/tetris && $(CARGO) clean-$(foreach g,$(STD_GAMES),$(MAKE) -C games/$(g) clean;)diff --git a/games/games.json b/games/games.jsonindex 042ed2ad..44c1ea57 100644--- a/games/games.json+++ b/games/games.json@@ -1566,5 +1566,31 @@"repo": "https://github.com/Mason363/NumPlay/tree/main/games/mrbullet","default": false,"xl": true+ },+ {+ "id": "numpico",+ "rank": 43,+ "title": "NumPico",+ "tagline": "Your own PICO-8 carts",+ "credit": "Plays PICO-8 carts with femto8 by Ben Baker",+ "top": "0x29ADFF",+ "bottom": "0x1D2B53",+ "accent": "0xFF004D",+ "colors": 16,+ "heap": 49152,+ "records": [+ "numpico.cfg",+ "p8_*"+ ],+ "reset": [+ "p8_*"+ ],+ "shots": [+ "docs/shot.png"+ ],+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/numpico",+ "default": false,+ "xl": true,+ "carts": true}]diff --git a/tools/release.py b/tools/release.pyindex 7eb404c4..a9409bd0 100644--- a/tools/release.py+++ b/tools/release.py@@ -69,6 +69,7 @@ ALONE = {"catninja": ("Cat Ninja", "Richman Stewart's Flash platformer: its 30 levels of wall jumps and traps, the boss and the crystals"),"kingdomrush": ("Kingdom Rush", "Ironhide's 2011 tower defense: its 12 stages with Heroic and Iron challenges, every tower, spell and boss"),"mrbullet": ("Mr Bullet", "Lion Studios' spy puzzles: 596 levels of Classic, Grenades, Hostages and Friendly Fire, read from the game's own files"),+ "numpico": ("NumPico", "PICO-8 carts on the calculator: add your own .p8 and .p8.png carts in NumPlay Studio"),}VARIANTS = [("NumPlay-Invisible.nwa", "The same app, hidden: a blank icon with no name"),