Skip to content

Built-in games ​

Status: draft, 2026-11

V1.7.8 contains 33 complete games: 29 reachable from the game menu and 4 hidden ones whose code and entry windows are intact but which have no menu entry. Each game is an overlay (81-111) that runs in the main overlay window as its own task (14-46). Games are written to one common plan (an entry window with tick, key and paint callbacks, a level number, a simple pseudo-random generator and shared drawing helpers). They are silent: no game calls any audio code, and music started before keeps playing in the background. The game menu is part of the settings task. The factory firmware had 11 games, the oldest image almost none [AP30, WEB]. All facts are from V1.7.8 [AP30] unless tagged otherwise.

Contents ​

The game list ​

"Menu record" is the string-table record of the menu entry; "levels" is the range the game's level-start code accepts (values outside fall back to level 0), where it was traced [AP30].

Menu recordGameTaskOverlayLevelsNotes
273Retro Block Puzzle1582falling-block puzzle; handles a microSD change itself (forces a library rebuild)
274Snake1481speed level = score / 100 (max 9)score capped at 99,999
275Box Pusher168350push boxes onto targets
276Brick Breaker178420paddle and ball
277Block Shooter188530invaders-style; a boss every 5th level; 3 lives
278Tank Battle198630maze of walls generated from the level number (the same map every time), base to defend; the largest game overlay (0x35e8 bytes of code)
279Gomoku228920five in a row against the AI
280Minesweeper218899
281Maze208720maze generated from the level number, time limit
282Sudoku239050puzzle generated at random
283Make 24249150combine four numbers to 24; number range widens with the level; undo
284Number Merge (2048)259250
285Number Slide26935015-puzzle style
286Match 3279450
287Pair Link289550connect matching tiles
288Reversi299650against the AI
289Jigsaw Puzzle319830grid size grows with the level
290Memory Match3299304 × 4 up to 5 × 6 cards
291Fruit Catch3410130
292Car Racing3510230
293Gold Catch3610330claw game, 10 tries
294Sky Shooter3710430vertical shooter, a boss every 5th level, 3 lives
295Bubble Pop3810530bubble shooter
296Chinese Checkers309730its entry callbacks live in section 0 (0x03054f00-0x0305523c), not in the overlay
297Frog Crossing39106303 lives
298Block Puzzle+40107a second falling-block game with a piece bag
299Space Battle41108shooter
300Chinese Chess43109xiangqi against the AI; shares overlay 109 with Mole Hunt
301Mole Hunt42109whack-a-mole with bombs

[AP30, analysis of firmware V1.7.8: the game menu dispatch in overlay 32 and the task table.] English names are the English menu strings. Menu record numbers and task numbers follow different orders (e.g. Snake is task 14 but record 274) [AP30]. Overlay 100 holds two hidden games and overlay 109 two menu games, which is why 33 games fit in 31 overlays.

Hidden games ​

Four games are complete but unreachable: their task entry windows are still in the task table, only the menu entry is missing. None has a title string; the names below describe the code [AP30]:

TaskOverlayGame (descriptive name)What it is
33100"Flappy"fly a bird through the gaps of pipe pairs (seed constant 0xf1a99b); 30 levels
44100"Bomber"bomb-laying maze game: steel pillars, bricks, pickups, up to 8 enemies, a hidden exit; 30 stages
45110"Maze Chase"eat every dot in a maze while 4 chasers hunt you; power pellets turn them blue
46111"Dig Runner"collect the gold on platforms with ladders and bars, dig holes in bricks to trap 3 chasers

Reaching them needs a menu entry (a string-table record with an action code that the menu dispatch maps to the task) or a patched task switch to tasks 33, 44, 45 or 46: a change to the firmware, not a setting [AP30]. A slot launcher like the community emulator's (below) could also start them.

How a game is launched ​

main menu (task 0) ── games icon ──► settings task (task 10, overlay 32) with the game menu
                                         │ game menu = node 0x110 of the settings tree,
                                         │ string records 272-301; each record's tree header carries an action code
                                         ▼
                              menu dispatch: record 0x111 + i  ──►  task switch (task number)
                                                                        │ task table → overlay number
                                                                        ▼
                              the game's overlay is loaded into the main window; its entry window runs

[AP30.] The main menu opens the settings task with argument 7 for its second item, which is the games icon by the reviews' description of the home screen [AP30 + WEB; mapping of icon to item inferred]. The settings tree format and the string table are described in ui_and_settings.md and ../formats/resources.md.

Leaving a game: in Snake the Back key (key code 0x002) leaves the game, and a long press of Back returns to the main menu [WEB nkahoang, tested on a device]. Retro Block Puzzle handles Back in its idle key handler [AP30]. Per-game key maps are not documented here yet.

How a game is built ​

Every game overlay follows one plan [AP30]:

  • Entry window (the task's descriptor): service = a timer tick, key, paint, init, deinit, the same seven-word window struct as every screen (architecture.md).
  • Painting by message: 0x186 = full redraw, 0x189 = partial redraw, 0x18b = status-bar redraw.
  • Level start: a "new game (level)" or "start level (level)" routine clamps the level (most games 30 or 50 levels) and sets up the board; action games show a "Level N" / "STAGE N" banner for 25 frames.
  • Randomness: a linear congruential generator, x = x × 0x41c64e6d + 0x3039, seeded from the system tick XOR level × 0x9e3779b1 XOR a per-game constant, often ASCII: 0x534c4944 "SLID", 0x4d417443 "MAtC", 0x4c696e6b "Link", 0x20482048 "2048", 0xf1a99b ("flappy"). Tank Battle seeds from the level only, so its maps are the same every time.
  • Drawing: a handful of helpers copied into each overlay that needs them (horizontal and vertical lines, rectangle outlines, filled circles and ellipses, pixels, an integer square root), on top of the section 0 drawing and text routines.
  • State: level-scoped data (boards, pieces, positions) lives in the main data window from 0x03023b48.
  • Backlight: most games disable the backlight auto-off timer in their init; Bomber and Chinese Chess leave it active (known_bugs.md).

Resources available to a game ​

ResourceAmountNote
Code~13.5 KiB (main window 0x030815c4-0x03084bac)the largest game, Tank Battle, sets the size
Data + bss~5.4 KiB (from 0x03023b48)
Calls into section 0drawing, text, keys, messages, timers, backlight, random numbers, filesno audio
Screen296 × 240, RGB565

[AP30.] Games make no audio calls at all: there are no sound effects and no game audio interface. The player service keeps running while a game is open, so background music continues with core B decoding [AP30; a device check is still to be done]. The only game code that stops music is Retro Block Puzzle's microSD handling, which forces a library rebuild (its window overlaps the playback window) [AP30].

A community project reports that more RAM is usable while a game runs (data up to 0x0302fd98 and 28 KiB of code window at 0x03084c00-0x0308bc00) without trouble [WEB nkahoang]. Memory map: architecture.md.

Differences between releases ​

ImageGamesTag
HIFIYF26.IMG (2026-07-23, 0.0.0)almost none: the image has 83 section slots (V1.7.8: 113) and 277 string records (V1.7.8: 307). A reviewer who started on the first build wrote that the later update "added 10 games" to reach 11, which suggests one game before [WEB, ?][AP30], [WEB]
HIFIYF05.IMG (2026-08-19, 5.0.0, "11-Game Firmware")11: Retro Block Puzzle, Snake, Box Pusher, Brick Breaker, Block Shooter, Tank Battle, Gomoku, Minesweeper, Maze, Sudoku, Make 24 (the list a reviewer gave after the update; "production units will have all 11 games built in")[WEB], [AP30] (string records: 289)
HIFIYF18.IMG (2026-10-19, V1.7.8)29 in the menu + 4 hidden[AP30]

The 11 games of the factory release are exactly V1.7.8's tasks 14-24 (overlays 81-91) [WEB list vs AP30 task table]. Whether the four hidden games already exist in 5.0.0 has not been checked [?]. Games are absent from every Echo Mini release: they are Hidizs' addition [EM]. Release history: ../overview/firmware_releases.md.

Known game bugs ​

Analysis found many small defects in the games, mostly harmless: win states never set (so "YOU WIN!" screens never show in several games), a tie in Reversi counted as a loss, Gomoku's AI score overflowing a 16-bit value, Box Pusher levels whose start cell hides a target, Minesweeper never restarting from "Over", Bubble Pop showing only three score digits, and the backlight timer left active in two games [AP30]. Full list with addresses: known_bugs.md.

Owners mostly complain about the controls (small, stiff buttons; slow response) and the small screen (../community/user_feedback.md).

Community use of the game slots ​

The open project nkahoang/hidizs-ap30-game-emu runs a Game Boy emulator inside a stock game slot, using the window callbacks and section 0 routines described above (several checked in an emulator and on a device) [WEB]. See ../related/community_projects.md.

Open questions ​

  • Do the four hidden games exist in the 5.0.0 image (and the games in 0.0.0 at all)? [?]
  • The level ranges of Retro Block Puzzle, Block Puzzle+, Space Battle, Mole Hunt, Chinese Chess and the two maze-chase games [?].
  • Background music during a game: the code says it keeps playing; to confirm on a device.
  • Which main-menu item index belongs to which icon (the games icon is inferred to be item 1) [?].

Sources ​

Text CC BY 4.0 · data tables and snippets CC0 1.0 · not affiliated with Hidizs