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
Resolve Suika conflicts with current NumPlay
Bobydeluxe4e341ab2ef64
diff --cc .github/workflows/build.ymlindex c5e1d09d,4fdbcab5..0e6a6560--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@@ -55,15 -62,25 +62,27 @@@ jobsmake -C games/numblocks host testmake -C games/championisland host testmake -C games/undertale host test+ make -C games/doom host test+ make -C games/isaac host test+ make -C games/pvz host test+ make -C games/fnaf host test+ make -C games/sonic host test+ make -C games/subway host test+ make -C games/hillclimb host test+ make -C games/leveldevil host test+ make -C games/cookieclicker host test+ make -C games/jetpackjoyride host test+ make -C games/invaders host test+ make -C games/sudoku host test+ make -C games/uttt host test+ make -C games/sokoban host test+ make -C games/flappydunk host test+ make -C games/towerblock host test+ make -C games/doodlejump host test+ make -C games/suika test+ python3 tests/test_suika.py build/apps/SuikaGame.nwa- - uses: actions/upload-artifact@v4- with:- name: nwa- path: |- build/NumPlay*.nwa- build/apps/*.nwa+- name: Releaseif: startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request')diff --cc Makefileindex db4400b5,2b480adb..f4758dfc--- a/Makefile+++ b/Makefile@@@ -30,8 -30,8 +30,8 @@@ APP_SPACE = 203161# 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- UPSILON_GAMES = crossyroad blockblast portal tetris dinorun chess flappybird pacman snake connectfour solitaire g2048 minesweeper \- breakout suika numvisuals+ UPSILON_GAMES = crossyroad blockblast portal tetris dinorun doodlejump chess flappybird flappydunk towerblock pacman snake connectfour solitaire g2048 minesweeper \- breakout twoplayer invaders sudoku uttt sokoban++ breakout twoplayer invaders sudoku uttt sokoban suika# NumPlay and its discreet versions: the same app, with another name and icon# on the calculator's home screen. Each one is a release file.diff --cc README.mdindex d4242de0,5364bc78..eca788b2--- a/README.md+++ b/README.md@@@ -5,8 -5,8 +5,8 @@@<h1 align="center">NumPlay</h1><p align="center">- <b>20 free games for your NumWorks calculator, in one app.</b><br>- Plus five big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.- <b>27 free games for your NumWorks calculator, in one app.</b><br>++ <b>28 free games for your NumWorks calculator, in one app.</b><br>+ Plus 16 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.</p><p align="center">@@@ -55,23 -60,26 +60,29 @@@ All of these come in one app, **NumPlay<td align="center"><a href="games/pacman/README.md"><img src="docs/media/thumb_pacman.png" width="120" alt="Pac-Man"><br><b>Pac-Man</b></a></td><td align="center"><a href="games/snake/README.md"><img src="docs/media/thumb_snake.png" width="120" alt="Snake"><br><b>Snake</b></a></td><td align="center"><a href="games/connectfour/README.md"><img src="docs/media/thumb_connectfour.png" width="120" alt="Connect Four"><br><b>Connect Four</b></a></td>- </tr>- <tr><td align="center"><a href="games/solitaire/README.md"><img src="docs/media/thumb_solitaire.png" width="120" alt="Solitaire"><br><b>Solitaire</b></a></td><td align="center"><a href="games/g2048/README.md"><img src="docs/media/thumb_g2048.png" width="120" alt="2048"><br><b>2048</b></a></td>+ </tr>+ <tr><td align="center"><a href="games/minesweeper/README.md"><img src="docs/media/thumb_minesweeper.png" width="120" alt="Minesweeper"><br><b>Minesweeper</b></a></td><td align="center"><a href="games/breakout/README.md"><img src="docs/media/thumb_breakout.png" width="120" alt="Block Breaker"><br><b>Block Breaker</b></a></td>- <td align="center"><a href="games/suika/README.md"><img src="docs/media/thumb_suika.png" width="120" alt="Suika Game"><br><b>Suika Game</b></a></td>+ <td align="center"><a href="games/twoplayer/README.md"><img src="docs/media/thumb_twoplayer.png" width="120" alt="2 Players"><br><b>2 Players</b></a></td>+ <td align="center"><a href="games/invaders/README.md"><img src="docs/media/thumb_invaders.png" width="120" alt="Space Invaders"><br><b>Space Invaders</b></a></td>+ <td align="center"><a href="games/sudoku/README.md"><img src="docs/media/thumb_sudoku.png" width="120" alt="Sudoku"><br><b>Sudoku</b></a></td></tr><tr>- <td align="center"><a href="games/numvisuals/README.md"><img src="docs/media/thumb_numvisuals.png" width="120" alt="NumVisuals"><br><b>NumVisuals</b></a></td>+ <td align="center"><a href="games/uttt/README.md"><img src="docs/media/thumb_uttt.png" width="120" alt="Ultimate Tic-Tac-Toe"><br><b>Ultimate Tic-Tac-Toe</b></a></td>+ <td align="center"><a href="games/sokoban/README.md"><img src="docs/media/thumb_sokoban.png" width="120" alt="Sokoban"><br><b>Sokoban</b></a></td>++ <td align="center"><a href="games/suika/README.md"><img src="docs/media/thumb_suika.png" width="120" alt="Suika Game"><br><b>Suika Game</b></a></td></tr></table>Want just one game? Each one also comes as its own file on the [downloads page](https://github.com/Mason363/NumPlay/releases/latest).+Suika Game stays in English in every build.++ **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.+## 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.@@@ -113,7 -140,7 +143,7 @@@ You need your calculator, its USB cable| --- | --- | --- || N0120 | Epsilon 23.2 or newer (the calculator's own software) | Everything || N0110, N0115 | Epsilon 23.2 or newer | Everything. These models are about 2.5 times slower, so the big games show fewer frames per second, but they keep their speed. |- | N0110, N0115 | Upsilon | NumPlay-Upsilon.nwa: 16 games (see Other versions) |-| N0110, N0115 | Upsilon | NumPlay-Upsilon.nwa: 22 games (see Other versions) |++| N0110, N0115 | Upsilon | NumPlay-Upsilon.nwa: 23 games (see Other versions) || Any | Custom software built from Epsilon 25.2's source | Everything. These builds can give apps less memory (133 KB): on one that gives even less, a game that needs more says how much on its card. |To see your calculator's model and software, open **Settings**, then **About**. To update the software, go to [my.numworks.com](https://my.numworks.com) with the calculator plugged in.@@@ -129,7 -156,7 +159,7 @@@| [NumPlay-Matrices.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/NumPlay-Matrices.nwa) | The same app, in disguise: it looks like a math app called **Matrices**. || [NumPlay-French.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/NumPlay-French.nwa) | NumPlay en français : tous les jeux, en français. || [NumPlay-Chinese.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/NumPlay-Chinese.nwa) | NumPlay 中文版:所有游戏,简体中文。 |- | [NumPlay-Upsilon.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/NumPlay-Upsilon.nwa) | For calculators running **Upsilon**: the 16 games that fit in the memory it gives apps. |-| [NumPlay-Upsilon.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/NumPlay-Upsilon.nwa) | For calculators running **Upsilon**: the 22 games that fit in the memory it gives apps. |++| [NumPlay-Upsilon.nwa](https://github.com/Mason363/NumPlay/releases/latest/download/NumPlay-Upsilon.nwa) | For calculators running **Upsilon**: the 23 games that fit in the memory it gives apps. |<img src="docs/media/home_invisible.png" width="240" alt="The home screen with NumPlay-Invisible: the spot after Settings looks empty"> <img src="docs/media/home_matrices.png" width="240" alt="The home screen with NumPlay-Matrices among the calculator's own apps">@@@ -203,10 -259,12 +262,13 @@@ NumPlay is a fan project, made out of l- **[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.- **[Gabriele Cirulli](https://github.com/gabrielecirulli/2048)** made 2048.+- **[Bobydeluxe](https://github.com/Bobydeluxe)** made **[Suika Game](games/suika/README.md)** for NumPlay, including its English interface, procedural fruit artwork and fruit-merging engine. Inspired by Suika Game; not affiliated with Aladdin X.- **Block Blast!** by [Hungry Studio](https://www.hungrystudio.com) inspired NumPlay's Block Blast, written in C for NumPlay with no code or art from it. Its blocks, scoring and colours follow measurements of the app by the players behind [blockblast-Self-Improvement-loop](https://github.com/Kucze3205/blockblast-Self-Improvement-loop).+ - **Flappy Dunk** by Voodoo (made with Acid Cousins) inspired NumPlay's Flappy Dunk, written in C for NumPlay with no code or art from it. Its physics and hoops follow the numbers in the game's Android build. **[Bobydeluxe](https://github.com/Bobydeluxe)** brought it to NumPlay. Not affiliated with Voodoo.+ - **Tower Blocks** by [Steve Gardner](https://codepen.io/ste-vg/pen/ppLQNW) (MIT License) is ported to C for NumPlay from its source: its sizes, speeds, colours, light and camera are the original's. **[Bobydeluxe](https://github.com/Bobydeluxe)** brought it to NumPlay.+ - **Doodle Jump** by Lima Sky inspired NumPlay's Doodle Jump, written in C for NumPlay with no code or art from it, drawn in its style on its own page size. **[Bobydeluxe](https://github.com/Bobydeluxe)** brought it to NumPlay. Not affiliated with Lima Sky.- Snake, Solitaire and Block Breaker look and play like **Google's games** in Search. They are drawn from scratch; nothing is taken from Google.- - **Chrome's dinosaur game** by Google inspired Chrome Dino, which ports its rules, numbers and pictures from [Chromium's source](https://chromium.googlesource.com/chromium/src/+/main/components/neterror/resources/dino_game/) (BSD license). **[LilyTheCatgirl](https://github.com/LilyTheCuteCatgirl)** brought it to NumPlay. Not affiliated with Google.+ - **Chrome's dinosaur game** by Google inspired Chrome Dino, which ports its rules, numbers and pictures from [Chromium's source](https://chromium.googlesource.com/chromium/src/+/main/components/neterror/resources/dino_game/) (BSD license). **[LilyTheCatgirl](https://github.com/LilyTheCuteCatgirl)** brought it to NumPlay, and also made the live emulator (`tools/emulator.py`) and the builder (`tools/build.py`). Not affiliated with Google.- **[gd3ds](https://github.com/AleFunky/gd3ds)** by AleFunky and friends, whose research into Geometry Dash made NumDash possible. Clubstep, Deadlocked and Dash also rely on [gdsolver](https://github.com/gdsolver/gdsolver)'s measurements of Geometry Dash 2.2, level data from [gmdkit](https://github.com/UHDanke/gmdkit) by HDanke and checks against [GDRWeb](https://github.com/iliasHDZ/GDRWeb) by IliasHDZ.- **Balatro** by LocalThunk inspired NumPlay's Balatro, which uses art adapted from the game and the **m6x11** font by Daniel Linssen.- **Minecraft** by Mojang inspired NumBlocks, which follows Minecraft 1.8.8 exactly: it makes its worlds the way Minecraft 1.8.8 does and uses its blocks, items, recipes, textures, font and screens.diff --cc games/games.jsonindex d69c14b7,a8f0eb1c..ac079b15--- a/games/games.json+++ b/games/games.json@@@ -361,34 -415,94 +415,111 @@@"app": "BlockBreaker.nwa","repo": "https://github.com/Mason363/NumPlay/tree/main/games/breakout"},+ {+ "id": "twoplayer",+ "title": "2 Players",+ "tagline": "Pong and more, side by side",+ "credit": null,+ "top": "0xD33B3B",+ "bottom": "0x172A72",+ "accent": "0x2E7CF6",+ "records": [+ "twoplayer.sav"+ ],+ "shots": [+ "docs/shot.png"+ ],+ "colors": 16,+ "app": "TwoPlayers.nwa",+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/twoplayer"+ },+ {+ "id": "invaders",+ "title": "Space Invaders",+ "tagline": "Stop the invasion, one cannon",+ "credit": "Based on Space Invaders by Taito",+ "top": "0x2B2F4A",+ "bottom": "0x05060C",+ "accent": "0x3CF03C",+ "colors": 4,+ "records": [+ "invaders.sav"+ ],+ "shots": [+ "docs/card.png"+ ],+ "app": "SpaceInvaders.nwa",+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/invaders"+ },+ {+ "id": "sudoku",+ "title": "Sudoku",+ "tagline": "Fill the grid, 1 to 9",+ "credit": null,+ "top": "0x3F67B5",+ "bottom": "0x18243A",+ "accent": "0x8EC5FF",+ "colors": 3,+ "records": [+ "sudoku.sav"+ ],+ "shots": [+ "docs/card.png"+ ],+ "app": "Sudoku.nwa",+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/sudoku"+ },+ {+ "id": "uttt",+ "title": "Ultimate Tic-Tac-Toe",+ "tagline": "Tic-tac-toe in tic-tac-toe",+ "credit": null,+ "top": "0x2B3470",+ "bottom": "0x10132A",+ "accent": "0xFF4D6D",+ "colors": 6,+ "records": [+ "uttt.sav"+ ],+ "shots": [+ "docs/card.png"+ ],+ "app": "UltimateTicTacToe.nwa",+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/uttt"+ },+ {+ "id": "sokoban",+ "title": "Sokoban",+ "tagline": "Push every box home",+ "credit": "Levels: Microban by David W. Skinner",+ "top": "0xA19555",+ "bottom": "0x444024",+ "accent": "0xFFB650",+ "colors": 11,+ "records": [+ "sokoban.sav"+ ],+ "shots": [+ "docs/shot.png"+ ],+ "app": "Sokoban.nwa",+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/sokoban"++ },+ {+ "id": "suika",+ "title": "Suika Game",+ "tagline": "A little fruit. A big merge.",+ "credit": "Game made by Bobydeluxe",+ "top": "0xD8D9A6",+ "bottom": "0x36563C",+ "accent": "0xF5AD69",- "records": ["suika.sav"],- "shots": ["docs/shot.png"],- "app": "SuikaGame.nwa",- "repo": "https://github.com/Mason363/NumPlay/tree/main/games/suika"- },- {- "id": "numvisuals",- "title": "NumVisuals",- "tagline": "Backgrounds, clocks, timers",- "credit": null,- "top": "0x7A2BFF",- "bottom": "0x1B0B3A",- "accent": "0xFF3E8A",+ "records": [- "numvisuals.sav"++ "suika.sav"+ ],+ "shots": [+ "docs/shot.png"+ ],- "colors": 48,- "repo": "https://github.com/Mason363/NumPlay/tree/main/games/numvisuals"++ "app": "SuikaGame.nwa",++ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/suika"}]diff --cc tests/test_games.pyindex 961c137a,bb09e149..69d2a118--- a/tests/test_games.py+++ b/tests/test_games.py@@@ -171,9 -241,12 +245,13 @@@ SEEDS =# the app again, only the scripts are left, and the save must come backCOPIES = {"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"}+ "numpowder": "numpowder_saves.py", "undertale": "undertale_saves.py", "subway": "subway_saves.py",+ "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"}CHECKS = {+ "suika": (lambda v: len(v) == 608 and v[:4] == b"SKA2" and v[33] == 1 and v[45] >= 1,) * 2,# 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,"numdrive": (lambda v: v[27] == 1, lambda v: v[27] == 0), # last played leveldiff --cc tools/release.pyindex 99e92363,24ec1a8c..0eb318d1--- a/tools/release.py+++ b/tools/release.py@@@ -46,7 -50,7 +50,7 @@@ LANGUAGES =("NumPlay-French.nwa", "NumPlay en français : tous les jeux, en français"),("NumPlay-Chinese.nwa", "NumPlay 中文版:所有游戏,简体中文"),]- UPSILON = ("NumPlay-Upsilon.nwa", "For calculators running Upsilon (N0110, N0115): the 16 games that fit in the memory "-UPSILON = ("NumPlay-Upsilon.nwa", "For calculators running Upsilon (N0110, N0115): the 22 games that fit in the memory "++UPSILON = ("NumPlay-Upsilon.nwa", "For calculators running Upsilon (N0110, N0115): the 23 games that fit in the memory ""Upsilon gives apps. Install it with nwlink, see the README")