Hi all. I've made a set of games for phones with a hardware keyboard, and 2.0.0 is out today. They're written for the Unihertz Titan 2 and the Zinwa Q25, and they play from the keys. Touch works too.
Download (APKs, checksums, release notes): https://github.com/aimindseye/sablegames/releases Source and user guide: https://github.com/aimindseye/sablegames
Made for the Titan 2's keyboard
The Titan 2 has no arrow keys and no trackpad, so each game checks which phone it is running on and moves with I J K L on the Titan 2. Sudoku uses the keys with digits printed on them (W E R S D F X C V), and Words still lets you type every letter. The square 1440 x 1440 screen gets a square layout, with the board on the left and the controls beside it.
What's in it
Each game is its own app, so you install only the ones you want.
- Gravel & Gears (new in 2.0): nonstop downhill mountain biking. Steer with the keys or tilt, fire cards as moves (A S D F), ride through gates for combos and draft new cards as you go. Day and Night Ride trails, three riders.
- Bitter Melons: a slingshot physics game where you fling angry melons at the AI Slop. 2.0 grows it from one world to four, 36 levels.
- Sable Card Games: ten Indian card games in one app: Teen Patti (practice chips only), Indian Rummy, Mendicot, Callbreak, Judgement, 2-3-5, Bluff, Donkey, Gulam Choor and Filmi Rummy.
- Snakes & Ladders and Ludo
- Sable Scaffold, Sudoku, Minesweeper, 2048, Bricks, Snake, Blocks, Reversi, Solitaire, Mahjong, Words.
- Sable Games Console: a Lua-based game console. Its games are small Lua scripts, so new games can be added without a new build of the app. It ships with eight tilt games, and you can make your own (see below).
Make your own games in Lua
The Console plays games written in Lua, and anyone can add one. A game is just a folder with two files: game.toml (name, id, controls, whether it uses tilt or keys) and a main.lua script. You define init(), update(dt) and draw(), and the Console gives you a square grid to draw on, tilt and key input, scores, saving and up to 32 PNG pictures. Copy the folder to the phone's Download folder, point the Console at it, and it appears in the library.
You don't need Android Studio, a build of the app or any extra permission. A text editor and a way to copy a folder to the phone is enough. There's a step-by-step tutorial that builds a small tilt game (Star Catch) from scratch, plus a full reference of every call: https://github.com/aimindseye/sablegames/blob/main/docs/GAMES_CONSOLE_TUTORIAL.md
Lua games run in a sandbox: no files, no network, no other programs, and time and memory limits, so a game that gets stuck is stopped. One game can't touch another, or your data. If you make something, I'd love to see it.
The basics
- Android 11 or later. It works on stock firmware.
- No permissions at all: no internet, no storage, no location. No ads, no accounts, everything works offline.
- Install by opening each APK on the phone, or with adb install from a computer.
- Free and open source (Apache 2.0). APKs are signed, and SHA256SUMS.txt lists every checksum.
- 2.0.0 installs over 1.0.0 and keeps your scores and progress.
Known limits
Gravel & Gears and Bitter Melons have no sound yet.
The planned one-tap installer for picking several games at once isn't part of 2.0.
Feedback welcome
I'd really like to hear how the controls feel on a real Titan 2, especially which games want different keys. Please open an issue with the game, what you pressed and a photo if you can. Happy to answer questions in the comments.