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
NumDrive: 4 and 6 brake and drive too, so both can be held at once
Mason36331ceb29bb5f6
diff --git a/docs/play.md b/docs/play.mdindex 6ee6a806..cb3acaf3 100644--- a/docs/play.md+++ b/docs/play.md@@ -170,8 +170,8 @@ Choose a scenario or a free play map. Build woodcutters and stone mines for mate| Key | What it does || --- | --- |-| **Right** | Drive forward |-| **Left** | Brake and reverse |+| **Right** or **6** | Drive forward |+| **Left** or **4** | Brake and reverse || **OK** or **Back** | Pause. **Back** again resumes || **Levels** on the pause card | Pick any level |diff --git a/games/numdrive/README.md b/games/numdrive/README.mdindex 45055299..c223ea24 100644--- a/games/numdrive/README.md+++ b/games/numdrive/README.md@@ -23,8 +23,9 @@ NumDrive is a Drive Mad style driving game for the NumWorks N0120 calculator.| Key | Action || --- | --- |-| Right arrow | Drive forward |-| Left arrow | Brake and reverse |+| Right arrow or 6 | Drive forward |+| Left arrow or 4 | Brake and reverse |+| An arrow and the other number | Both at once (the arrows can't be held together) || OK or Back | Pause || Arrows, then OK | Pick a button or a level || Back on a card | Level list |diff --git a/games/numdrive/src/main.c b/games/numdrive/src/main.cindex 31dde99c..9ffcb05a 100644--- a/games/numdrive/src/main.c+++ b/games/numdrive/src/main.c@@ -166,7 +166,8 @@ int main(int argc, char **argv) {sel = 1;continue;}- uint8_t b = ((k & KEY(K_LEFT)) ? 1 : 0) | ((k & KEY(K_RIGHT)) ? 2 : 0);+ /* brake on Left or 4, gas on Right or 6: the arrows can't be held both at once (Speed Record wants both) */+ uint8_t b = ((k & (KEY(K_LEFT) | KEY(K_FOUR))) ? 1 : 0) | ((k & (KEY(K_RIGHT) | KEY(K_SIX))) ? 2 : 0);bool ending = false;uint32_t t0 = plat_millis();for (int s = 0; s < steps && !ending; s++) {