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
Retro-Go: the build inside NumPlay without the Mega Drive compiles, its test reads version 3 settings
Mason363cc96f9396f5f
diff --git a/games/retrogo/src/main.c b/games/retrogo/src/main.cindex e03c0c40..2af31463 100644--- a/games/retrogo/src/main.c+++ b/games/retrogo/src/main.c@@ -823,16 +823,16 @@ static uint32_t autosave_at; /* when the battery save is due, 0 none */ColecoVision too) and LCD-Game-Emulator */enum { CORE_GB, CORE_NES, CORE_SMS, CORE_GW, CORE_MD };#if !HAS_MD /* (stand-ins: never called) */-#define md_load(d, n) RG_ERR_MEMORY-#define md_state_chunks(c) 0-#define md_state_loaded()-#define md_redraw()-#define md_reset(h)-#define md_view(x, y, w, h)-#define md_frame_us() 16667-#define md_set_pad(p)-#define md_set_z80(z)-#define md_run_frame(d)+#define md_load(d, n) ((void)(d), (void)(n), RG_ERR_MEMORY)+#define md_state_chunks(c) ((void)(c), 0)+#define md_state_loaded() ((void)0)+#define md_redraw() ((void)0)+#define md_reset(h) ((void)(h))+#define md_view(x, y, w, h) (*(x) = *(y) = 0, *(w) = 320, *(h) = 224)+#define md_frame_us() 16667u+#define md_set_pad(p) ((void)(p))+#define md_set_z80(z) ((void)(z))+#define md_run_frame(d) ((void)(d))#endifstatic int core;static bool is_gb(void) { return core == CORE_GB; }diff --git a/tests/test_games.py b/tests/test_games.pyindex 119ccd66..8b750d7e 100644--- a/tests/test_games.py+++ b/tests/test_games.py@@ -759,8 +759,10 @@ CHECKS = {# a game kept (Easy, the guide read) with the two digits the hints wrote (the digits at 109); then three"sudoku": (lambda v: len(v) == 352 and v[:4] == b"S\1\3\0" and sum(1 <= b <= 9 for b in v[109:190]) == 2,lambda v: v[2] & 1 and sum(1 <= b <= 9 for b in v[109:190]) == 3),- # the scaling (third byte): Full, then 1x; the keys (at 21) the first ones- "retrogo": (lambda v: len(v) == 29 and v[:2] == b"R\2" and v[2] == 2 and v[21:29] == bytes([1, 2, 0, 3, 4, 5, 12, 52]),+ # the scaling (third byte): Full, then 1x; the keys (at 21) the first ones; version 3: the cursors of the Game &+ # Watch and the Mega Drive, the Z80 on (at 33)+ "retrogo": (lambda v: len(v) == 37 and v[:2] == b"R\3" and v[2] == 2 and v[21:29] == bytes([1, 2, 0, 3, 4, 5, 12, 52])+ and v[33] == 1,lambda v: v[2] == 0),}