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
Stickman Hook: built, tested and released like the other big games
Mason3632816260a8508
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 56baea6b..eeea0aac 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -80,9 +80,7 @@ jobs:make -C games/towerblock host testmake -C games/suika host testmake -C games/doodlejump host test- make -C games/stickmanhook check test-fidelity NWLINK=nwlink- python3 games/stickmanhook/tests/test_artwork.py- python3 games/stickmanhook/tests/test_arm.py --nwlink nwlink+ make -C games/stickmanhook host testdiff --git a/Makefile b/Makefileindex 321a3a9c..9723b923 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 = StickmanHook Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride+BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook# 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@@ -249,6 +249,7 @@ apps: | $(B)$(MAKE) -C games/cookieclicker build NWLINK="$(NWLINK)"$(MAKE) -C games/leveldevil build NWLINK="$(NWLINK)"$(MAKE) -C games/jetpackjoyride build NWLINK="$(NWLINK)"+ $(MAKE) -C games/stickmanhook 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)))@@ -275,15 +276,9 @@ apps: | $(B)cp $(word 1,$(subst :, ,$(APP_cookieclicker))) $(B)/apps/$(word 2,$(subst :, ,$(APP_cookieclicker)))cp $(word 1,$(subst :, ,$(APP_leveldevil))) $(B)/apps/$(word 2,$(subst :, ,$(APP_leveldevil)))cp $(word 1,$(subst :, ,$(APP_jetpackjoyride))) $(B)/apps/$(word 2,$(subst :, ,$(APP_jetpackjoyride)))+ cp $(word 1,$(subst :, ,$(APP_stickmanhook))) $(B)/apps/$(word 2,$(subst :, ,$(APP_stickmanhook)))arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwa-# Stickman Hook is published as its own app, with no launcher module.-apps: $(B)/apps/StickmanHook.nwa-$(B)/apps/StickmanHook.nwa: FORCE | $(B)- $(MAKE) --no-print-directory -C games/stickmanhook build NWLINK="$(NWLINK)"- mkdir -p $(B)/apps- cp games/stickmanhook/output/stickmanhook.nwa $@-STD_APPS = $(foreach g,$(STD_GAMES),$(B)/apps/$(NWA_$(g)))apps: $(STD_APPS)$(STD_APPS): $(B)/apps/%.nwa: FORCE | $(B)diff --git a/README.md b/README.mdindex 8d8153ea..f1555bee 100644--- a/README.md+++ b/README.md@@ -81,8 +81,6 @@ Want just one game? Each one also comes as its own file on the [downloads page](**NumVisuals**, moving backgrounds with a clock, a stopwatch, a timer or a counter on top, comes on its own: [download NumVisuals.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/NumVisuals.nwa). Its backgrounds are also in NumPlay: press ⌫ on the home screen.-**[Stickman Hook](games/stickmanhook/README.md)** also comes as its own app: 50 levels, 23 characters and an English interface, adapted by **Bobydeluxe**. [Download StickmanHook.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/StickmanHook.nwa) once it is included in a release.-## Big games, installed on their ownThese are too big to fit next to NumPlay, so each one is its own app. Install it without NumPlay.@@ -260,8 +258,6 @@ Read **[Make your own NumWorks game](docs/make-a-game.md)** to go from there, an## Credits-- **[Bobydeluxe](https://github.com/Bobydeluxe)** made the **[Stickman Hook](games/stickmanhook/README.md)** NumWorks adaptation. **Madbox** made the original game; its artwork, lettering, course data and physics are credited in the game README. Not affiliated with Madbox.-NumPlay is a fan project, made out of love for these games and for the NumWorks calculator. If you enjoy a game here, go play the original and support the people who made it. NumWorks also has a great community of people making games by hand: try [Numcraft](https://github.com/yannis300307/NumcraftRust), [Celeste Classic](https://github.com/BenchatonDev/Celeste-Numworks), [Tatone26's All the Apps](https://github.com/Tatone26/Numworks-games), the apps on [Nwagyu](https://nwagyu.org/guide/) and [yannis300307's list](https://gist.github.com/yannis300307/9123136f90877107ec0d49ba96b303e5).- **[Tatone26](https://github.com/Tatone26/Numworks-games)**'s **All the Apps** inspired NumPlay's list of classics. Flappy Bird, Pac-Man, Snake, Connect Four, Solitaire and 2048 are written in C for NumPlay and keep its options, with no code copied from it. Tetris is Tatone26's own, which they released into the public domain, adapted for NumPlay.diff --git a/tests/test_games.py b/tests/test_games.pyindex 929c7ba5..caf93e89 100644--- a/tests/test_games.py+++ b/tests/test_games.py@@ -217,6 +217,10 @@ GAMES = {# copy, it opens paused: Back, another second, paused again, quit with On/Off"jetpackjoyride": ("JetpackJoyride.nwa", "jetpackjoyride.sav", presses((1500, "ok"), (2500, "ok"), (3600, "back")), 5000,presses((1500, "back"), (2700, "back")), 4000),+ # the title, how to play (the first time), then level 1: the stickman falls and swings; Home keeps the level.+ # Next time, from the copy, Play goes back to it, then Back pauses it; quit with On/Off+ "stickmanhook": ("StickmanHook.nwa", "stickmanhook.sav", presses((1500, "ok"), (2500, "ok"), (3300, "ok", 700)), 5000,+ presses((1500, "ok"), (2700, "back")), 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,@@ -249,7 +253,7 @@ COPIES = {"championisland": "champion_saves.py", "numblocks": "numblocks_saves.p"fnaf": "fnaf_saves.py", "doom": "doom_saves.py", "isaac": "isaac_saves.py","hillclimb": "hillclimb_saves.py", "pvz": "pvz_saves.py", "sonic": "sonic_saves.py","cookieclicker": "cookieclicker_saves.py", "leveldevil": "leveldevil_saves.py",- "jetpackjoyride": "jetpackjoyride_saves.py"}+ "jetpackjoyride": "jetpackjoyride_saves.py", "stickmanhook": "stickmanhook_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,@@ -356,6 +360,10 @@ CHECKS = {# a run kept ("JJR1", has_run at 23, its frames at 60); after the reinstall, from the copy, it goes on"jetpackjoyride": (lambda v: len(v) == 728 and v[:4] == b"JJR1" and v[23] == 1 and struct.unpack_from("<I", v, 60)[0] >= 30,lambda v: v[:4] == b"JJR1" and v[23] == 1 and struct.unpack_from("<I", v, 60)[0] >= 90),+ # how to play seen, level 1 being played ("SHK3", guide_seen at 17, has_course at 18, the course at 20); after the+ # reinstall, from the copy, the same level and course+ "stickmanhook": (lambda v: len(v) == 28 and v[:4] == b"SHK3" and v[17] == 1 and v[18] == 1 and v[20] == 0+ and v[21] == 255,) * 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 keptdiff --git a/tools/release.py b/tools/release.pyindex 2ce8917e..2db30a7b 100644--- a/tools/release.py+++ b/tools/release.py@@ -23,7 +23,6 @@ REPO = "https://github.com/Mason363/NumPlay"EXTRAS = set()# games too big to fit next to NumPlay on the calculator: only on their own, in a section of their ownALONE = {- "stickmanhook": ("Stickman Hook", "50 levels and 23 characters, adapted by Bobydeluxe; installed separately"),"celeste": ("Celeste", "the whole climb up Celeste Mountain"),"hollowknight": ("Hollow Knight", "from King's Pass to Hornet in Greenpath"),"undertale": ("Undertale", "the whole Underground, to the barrier and the neutral ending"),@@ -41,6 +40,7 @@ ALONE = {"numvisuals": ("NumVisuals", "moving backgrounds with a clock, a stopwatch, a timer, a counter or your own words"),"cookieclicker": ("Cookie Clicker", "the whole game, to the grandmapocalypse, ascension and the dragon"),"jetpackjoyride": ("Jetpack Joyride", "Barry's run through the lab, with five vehicles and the Final Spin"),+ "stickmanhook": ("Stickman Hook", "swing from hook to hook: 39 levels made by hand, then endless ones"),}VARIANTS = [("NumPlay-Invisible.nwa", "The same app, hidden: a blank icon with no name"),