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
Isaac: built and released with the big games, tested on the emulator
Mason363156eb8e1b83d
diff --git a/Makefile b/Makefileindex 29be7181..5c2e790c 100644--- a/Makefile+++ b/Makefile@@ -24,7 +24,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+BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac# the calculator's space for installed apps (0x90200000 to 0x903F0000 in its flash)APP_SPACE = 2031616# Upsilon, the N0110 and N0115's custom software, gives .nwa apps less RAM: NumPlay-Upsilon.nwa has@@ -211,6 +211,7 @@ APP_fnaf = games/fnaf/output/fnaf.nwa:FiveNightsAtFreddys.nwaAPP_finalearth2 = games/finalearth2/output/finalearth2.nwa:FinalEarth2.nwaAPP_numpowder = games/numpowder/output/numpowder.nwa:NumPowder.nwaAPP_doom = games/doom/output/doom.nwa:Doom.nwa+APP_isaac = games/isaac/output/isaac.nwa:BindingOfIsaac.nwaapps: | $(B)$(MAKE) -C games/numdash build NWLINK="node node_modules/nwlink/bin/nwlink"@@ -230,6 +231,7 @@ apps: | $(B)$(MAKE) -C games/finalearth2 build NWLINK="$(NWLINK)"$(MAKE) -C games/numpowder build NWLINK="$(NWLINK)"$(MAKE) -C games/doom build NWLINK="$(NWLINK)"+ $(MAKE) -C games/isaac build NWLINK="$(NWLINK)"cd 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)))@@ -249,6 +251,7 @@ apps: | $(B)cp $(word 1,$(subst :, ,$(APP_finalearth2))) $(B)/apps/$(word 2,$(subst :, ,$(APP_finalearth2)))cp $(word 1,$(subst :, ,$(APP_numpowder))) $(B)/apps/$(word 2,$(subst :, ,$(APP_numpowder)))cp $(word 1,$(subst :, ,$(APP_doom))) $(B)/apps/$(word 2,$(subst :, ,$(APP_doom)))+ cp $(word 1,$(subst :, ,$(APP_isaac))) $(B)/apps/$(word 2,$(subst :, ,$(APP_isaac)))arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwaSTD_APPS = $(foreach g,$(STD_GAMES),$(B)/apps/$(NWA_$(g)))@@ -309,5 +312,6 @@ clean:-$(MAKE) -C games/finalearth2 clean-$(MAKE) -C games/numpowder clean-$(MAKE) -C games/doom clean+ -$(MAKE) -C games/isaac clean-cd games/tetris/tetris && $(CARGO) clean-$(foreach g,$(STD_GAMES),$(MAKE) -C games/$(g) clean;)diff --git a/tests/test_games.py b/tests/test_games.pyindex 9f42db88..f85fd6a5 100644--- a/tests/test_games.py+++ b/tests/test_games.py@@ -156,6 +156,11 @@ GAMES = {# Press OK to Play: the first scenario, its first goal closed, the city runs; then Continue"finalearth2": ("FinalEarth2.nwa", "finalearth2.sav", presses((2000, "ok"), (3000, "ok")), 9000,presses((2000, "ok")), 6000),+ # past the title, a new run: the floor's name, then Isaac walks and cries; Home keeps the run. Next time,+ # Continue, and the run goes on (quitting with On/Off)+ "isaac": ("BindingOfIsaac.nwa", "isaacrun.sav",+ presses((1500, "ok"), (2200, "ok"), (2800, "ok"), (3300, "left", 1200), (3600, "6", 900), (4800, "up", 600)), 6500,+ presses((1500, "ok"), (2200, "ok"), (2800, "right", 900), (3000, "8", 600)), 4500),# 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,@@ -185,7 +190,7 @@ SEEDS = {COPIES = {"championisland": "champion_saves.py", "numblocks": "numblocks_saves.py", "celeste": "celeste_saves.py","hollowknight": "hollowknight_saves.py", "finalearth2": "finalearth2_saves.py","numpowder": "numpowder_saves.py", "undertale": "undertale_saves.py", "subway": "subway_saves.py",- "fnaf": "fnaf_saves.py", "doom": "doom_saves.py"}+ "fnaf": "fnaf_saves.py", "doom": "doom_saves.py", "isaac": "isaac_saves.py"}CHECKS = {# the island remembers where Lucky was; after the reinstall, from the copy"championisland": (lambda v: v[:3] == b"CI1" and b"PLAYER_LOC" in v,) * 2,@@ -207,6 +212,9 @@ CHECKS = {lambda v: v[:4] == b"FNAF" and struct.unpack_from("<f", v, 40)[0] > 6.5),# the moment kept (a save named "the moment"); after the reinstall, from the copy, loaded and kept again"doom": (lambda v: v[:10] == b"the moment",) * 2,+ # the run kept ("ISR1", the frames played at 16); after the reinstall, from the copy, it goes on+ "isaac": (lambda v: v[:4] == b"ISR1" and struct.unpack_from("<I", v, 16)[0] > 30,+ lambda v: v[:4] == b"ISR1" and struct.unpack_from("<I", v, 16)[0] > 80),# a simulation saved ("NPWD"); after the reinstall, from the copy, it goes on and is saved again"numpowder": (lambda v: v[:4] == b"NPWD",) * 2,# a game saved ("HKSV", then the play time at 152); after the reinstall, from the copy, it goes ondiff --git a/tools/release.py b/tools/release.pyindex 739e5b69..6f0a1b95 100644--- a/tools/release.py+++ b/tools/release.py@@ -43,6 +43,8 @@ ALONE = {"Too big to share the calculator with NumPlay: install it on its own"),"doom": ("Doom", "id Software's Doom, the shareware episode Knee-Deep in the Dead: all nine levels of Phobos. Too ""big to share the calculator with NumPlay: install it on its own"),+ "isaac": ("The Binding of Isaac", "a whole run, from the Basement past Mom and her heart to Sheol and the Cathedral. "+ "Too big to share the calculator with NumPlay: install it on its own"),}VARIANTS = [("NumPlay-Invisible.nwa", "The same app, hidden: a blank icon with no name"),