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
TI-84 Plus CE: open to downloads, with Balatro, FNAF and 13 more
Mason36387acf0b380b2
diff --git a/.github/workflows/ports.yml b/.github/workflows/ports.ymlindex 10d87b5f..2e5d07ef 100644--- a/.github/workflows/ports.yml+++ b/.github/workflows/ports.yml@@ -243,6 +243,7 @@ jobs:n() { unzip -Z1 "zips/$1" | grep -vc '^README.txt$'; }for _ in 1 2 3; dogh release upload "$tag" --clobber \+ "zips/NumPlay-TI84CE.zip#NumPlay-TI84CE.zip · $(unzip -Z1 zips/NumPlay-TI84CE.zip | grep -c '\.8xp$') games for the TI-84 Plus CE and TI-83 Premium CE" \"zips/NumPlay-Nspire.zip#NumPlay-Nspire.zip · $(n NumPlay-Nspire.zip) games for the TI-Nspire CX and CX II, with Ndless" \"zips/NumPlay-CasioCG.zip#NumPlay-CasioCG.zip · $(n NumPlay-CasioCG.zip) games for the Casio fx-CG50 and Graph 90+E" \&& exit 0diff --git a/README.md b/README.mdindex 81f9eb7c..f682e677 100644--- a/README.md+++ b/README.md@@ -7,7 +7,7 @@<p align="center"><b>29 free games for your NumWorks calculator, in one app.</b><br>Plus 45 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.<br>- Now on the TI-Nspire CX and Casio fx-CG50 too, and soon the TI-84 Plus CE.+ Now on the TI-84 Plus CE, TI-Nspire CX and Casio fx-CG50 too.</p><p align="center">@@ -47,7 +47,7 @@<table><tr>- <td align="center" width="25%"><img src="docs/media/calcs/ti84ce.png" height="150" alt="TI-84 Plus CE"><br><b>TI-84 Plus CE</b><br><sub>and TI-83 Premium CE<br>coming soon</sub></td>+ <td align="center" width="25%"><a href="docs/calculators/ti-84-plus-ce.md"><img src="docs/media/calcs/ti84ce.png" height="150" alt="TI-84 Plus CE"><br><b>TI-84 Plus CE</b></a><br><sub>and TI-83 Premium CE<br>15 games</sub></td><td align="center" width="25%"><a href="docs/calculators/ti-nspire.md"><img src="docs/media/calcs/nspire.png" height="150" alt="TI-Nspire CX II"><br><b>TI-Nspire CX</b></a><br><sub>CX and CX II, with Ndless<br>76 games</sub></td><td align="center" width="25%"><a href="docs/calculators/casio-fx-cg50.md"><img src="docs/media/calcs/casio_cg50.png" height="150" alt="Casio fx-CG50"><br><b>Casio fx-CG50</b></a><br><sub>and Graph 90+E, fx-CG10, fx-CG20<br>72 games</sub></td><td align="center" width="25%"><a href="docs/porting.md"><img src="docs/media/calcs/raspberrypi.png" height="110" alt="A Raspberry Pi 5"><br><b>Anything else</b></a><br><sub>a computer, a Raspberry Pi,<br>a board with a screen</sub></td>diff --git a/customize/app.js b/customize/app.jsindex 59660bdc..bb6efee1 100644--- a/customize/app.js+++ b/customize/app.js@@ -1099,7 +1099,7 @@const other = () => st.calc !== 'numworks';const known = (t) => Object.prototype.hasOwnProperty.call(CALCS, t);const portList = (t = st.calc) => (ports && known(t) && ports.targets[t]) || null;- const SOON = ['ti84ce']; // (built, but not fast enough on the calculator yet)+ const SOON = []; // (calculators built for, but not ready yet)const calcReady = (t) => t === 'numworks' ||(!SOON.includes(t) && !!portList(t) && Object.keys(portList(t)).some((id) => buttons.has(id)));const onCalc = (id) => !other() || !!portList()[id];diff --git a/docs/calculators/ti-84-plus-ce.md b/docs/calculators/ti-84-plus-ce.mdnew file mode 100644index 00000000..3bffee03--- /dev/null+++ b/docs/calculators/ti-84-plus-ce.md@@ -0,0 +1,63 @@+# NumPlay on the TI-84 Plus CE++<img src="../media/calcs/ti84ce.png" height="200" align="right" alt="TI-84 Plus CE">++15 free games for the TI-84 Plus CE, TI-84 Plus CE Python, TI-84 Plus CE-T and TI-83 Premium CE: Balatro, Block Blast, Pac-Man, 2 Players, Chess, Five Nights at Freddy's and more. The same games as on the NumWorks, made for this calculator's screen and keys.++> [!IMPORTANT]+> **Beta testers wanted.** These builds haven't run on a real TI-84 Plus CE yet. [Sign up](https://github.com/Mason363/NumPlay/issues/new?template=beta-tester.yml) to try each one first, and tell me what works.++## Install++1. Get `NumPlay-TI84CE.zip` from the [latest release](https://github.com/Mason363/NumPlay/releases/latest) and unzip it.+2. Send the games you want (`.8xp` files, and the `.8xv` files of Balatro and FNAF) with [TI Connect CE](https://education.ti.com/en/products/computer-software/ti-connect-ce-sw).+3. Press **prgm**, pick a game, press **enter**.++On OS 5.5 and newer, programs like these need [arTIfiCE](https://yvantt.github.io/arTIfiCE/) first. Each game also needs the CE C libraries (`clibs.8xg` from [the CE toolchain's releases](https://github.com/CE-Programming/libraries/releases/latest)), sent once. Balatro and FNAF need most of the RAM free: if one doesn't start, archive your other programs.++Or pick just the games you want in [NumPlay Studio](https://mason363.github.io/NumPlay/customize/?calc=ti84ce).++## Keys++| Key | What it does |+| --- | --- |+| Arrows | move |+| 2nd | OK |+| enter | EXE |+| clear | Back |+| mode | Home (save and quit) |+| del | ⌫ |+| y= | shift |+| alpha | alpha |+| math | toolbox |+| vars | var |+| X,T,θ,n | x,n,t |+| 0 to 9, + − × ÷ . , ( ) ^ x² | the same |++Games save by themselves, and when you leave with Home.++## The 15 games++The CE is the slowest of these calculators (48 MHz, no floating point unit) and has the least memory, so it gets the lighter games, and Balatro and Five Nights at Freddy's in versions made for it.++| Game | |+| --- | --- |+| [Balatro](../../games/balatro/README.md) | Poker hands, wild jokers |+| [Block Blast](../../games/blockblast/README.md) | Fit the blocks, blast the lines |+| [Pac-Man](../../games/pacman/README.md) | Eat dots, dodge ghosts |+| [2 Players](../../games/twoplayer/README.md) | Pong and more, side by side |+| [Chess](../../games/chess/README.md) | Bots, puzzles, 2 players |+| [Five Nights at Freddy's](../../games/fnaf/README.md) | Survive five nights |+| [Space Invaders](../../games/invaders/README.md) | Stop the invasion, one cannon |+| [Block Breaker](../../games/breakout/README.md) | Break every brick |+| [Connect Four](../../games/connectfour/README.md) | Four in a row wins |+| [Ultimate Tic-Tac-Toe](../../games/uttt/README.md) | Tic-tac-toe in tic-tac-toe |+| [Sokoban](../../games/sokoban/README.md) | Push every box home |+| [Sudoku](../../games/sudoku/README.md) | Fill the grid, 1 to 9 |+| [Minesweeper](../../games/minesweeper/README.md) | Clear the field, flag the mines |+| [Solitaire](../../games/solitaire/README.md) | The classic card game |+| [Imposter](../../games/imposter/README.md) | One of you doesn't know the word |++<br clear="right">++[All calculators](../../README.md#pick-your-calculator) · [Run NumPlay on anything](../porting.md)diff --git a/games/games.json b/games/games.jsonindex 79a7ad45..c0c85711 100644--- a/games/games.json+++ b/games/games.json@@ -156,6 +156,7 @@"ports": ["sdl","web",+ "ti84ce","nspire","casio-cg"]@@ -254,8 +255,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -297,8 +297,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -323,8 +322,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -372,8 +370,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -398,8 +395,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -424,8 +420,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -450,8 +445,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -500,8 +494,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -575,8 +568,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -782,8 +774,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -1091,6 +1082,7 @@"ports": ["sdl","web",+ "ti84ce","nspire","casio-cg"]@@ -1383,8 +1375,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -1492,8 +1483,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{@@ -1682,8 +1672,7 @@"sdl","web","nspire",- "casio-cg",- "ti84ce"+ "casio-cg"]},{diff --git a/platform/port.mk b/platform/port.mkindex 32188371..b0f60741 100644--- a/platform/port.mk+++ b/platform/port.mk@@ -58,7 +58,7 @@ CE_WARN = -Wall -Werror=shift-count-overflow -Werror=shift-overflow -Wshift-signifneq ($(PORT_CE),)# a game with a CE version of its own (PORT_CE: its folder, a CE toolchain project): its program and appvarsport: $(PORT_DEPS)- $(Q) PATH="$(CEDEV)/bin:$$PATH" $(MAKE) -C $(PORT_CE) --no-print-directory+ $(Q) env -u MAKEFLAGS -u MFLAGS -u TARGET PATH="$(CEDEV)/bin:$$PATH" $(MAKE) -C $(PORT_CE) --no-print-directory # (not our TARGET=: the CE toolchain names its program with it)@mkdir -p $(CE_DIR)/bin$(Q) for f in $(PORT_CE)/bin/*.8xp $(PORT_CE)/bin/*.8xv; do [ -f "$$f" ] && cp "$$f" $(CE_DIR)/bin/; done; true@echo "CE $(CE_DIR)/bin"diff --git a/tools/calc_pages.py b/tools/calc_pages.pyindex e3b7da61..136555b2 100644--- a/tools/calc_pages.py+++ b/tools/calc_pages.py@@ -14,11 +14,13 @@ PAGES = [("ti-84-plus-ce", "ti84ce", "TI-84 Plus CE", "ti84ce.png","the TI-84 Plus CE, TI-84 Plus CE Python, TI-84 Plus CE-T and TI-83 Premium CE",f"""1. Get `NumPlay-TI84CE.zip` from the [latest release]({REL}) and unzip it.-2. Send the games you want (`.8xp` files) with [TI Connect CE](https://education.ti.com/en/products/computer-software/ti-connect-ce-sw).+2. Send the games you want (`.8xp` files, and the `.8xv` files of Balatro and FNAF) with [TI Connect CE](https://education.ti.com/en/products/computer-software/ti-connect-ce-sw).3. Press **prgm**, pick a game, press **enter**.-On OS 5.5 and newer, programs like these need [arTIfiCE](https://yvantt.github.io/arTIfiCE/) first. Each game also needs the CE C libraries (`clibs.8xg` from [the CE toolchain's releases](https://github.com/CE-Programming/libraries/releases/latest)), sent once.""",- "ti84ce", "The CE is the slowest of these calculators (48 MHz, no floating point unit) and has the least memory, so it gets the lighter games."),+On OS 5.5 and newer, programs like these need [arTIfiCE](https://yvantt.github.io/arTIfiCE/) first. Each game also needs the CE C libraries (`clibs.8xg` from [the CE toolchain's releases](https://github.com/CE-Programming/libraries/releases/latest)), sent once. Balatro and FNAF need most of the RAM free: if one doesn't start, archive your other programs.++Or pick just the games you want in [NumPlay Studio](https://mason363.github.io/NumPlay/customize/?calc=ti84ce).""",+ "ti84ce", "The CE is the slowest of these calculators (48 MHz, no floating point unit) and has the least memory, so it gets the lighter games, and Balatro and Five Nights at Freddy's in versions made for it."),("ti-nspire", "nspire", "TI-Nspire CX", "nspire.png","the TI-Nspire CX and CX II, CAS or not",f"""1. Install [Ndless](https://ndless.me) on the calculator.diff --git a/tools/ports.py b/tools/ports.pyindex e04ae59b..5ef17904 100644--- a/tools/ports.py+++ b/tools/ports.py@@ -62,7 +62,7 @@ def outputs(target, g):b = os.path.join(GAMES, g, "build", target)if target == "ti84ce": # its program, and the appvars of a game with its own CE version (PORT_CE)d = os.path.join(b, g, "bin")- fs = sorted(f for f in os.listdir(d) if f.endswith((".8xp", ".8xv"))) if os.path.isdir(d) else []+ fs = sorted((f for f in os.listdir(d) if f.endswith((".8xp", ".8xv"))), key=lambda f: (not f.endswith(".8xp"), f)) if os.path.isdir(d) else []return [(os.path.join(d, f), f) for f in fs] or [(os.path.join(d, ce_name(g) + ".8xp"), ce_name(g) + ".8xp")]if target == "nspire":return [(os.path.join(b, g + ".tns"), g + ".tns")]@@ -77,7 +77,8 @@ README = {"ti84ce": """NumPlay for the TI-84 Plus CE and the TI-83 Premium CEHow to install-1. Send the .8xp files to the calculator with TI Connect CE (education.ti.com).+1. Send the .8xp files to the calculator with TI Connect CE (education.ti.com),+ and the .8xv files with them: Balatro's and FNAF's pictures.2. Send clibs.8xg too. It's the CE C libraries the games need, fromgithub.com/CE-Programming/libraries/releases3. On OS 5.5 and later the calculator won't start the games by itself.@@ -85,8 +86,10 @@ How to installOn an older OS, press prgm, pick a game and press enter twice.Keys-Arrows move, enter is OK, clear is Back, mode saves and quits.-When a game says EXE, press 2nd.+Arrows move, 2nd is OK, enter is EXE, clear is Back, mode saves and quits.++Balatro and FNAF need most of the RAM free. If one doesn't start,+archive your other programs.""","nspire": """NumPlay for the TI-Nspire CX and CX II