A typing-defense game — words fall from the sky, type them before they hit the ground. Built
with Spinel and sdl, a
throughput demo for this binding's draw_text path (a dozen+ live words redrawn every frame).
- Spinel (
spin) - SDL3, statically linked via the
sdlpackage — nobrew installneeded at build or run time
With asdf:
asdf plugin add spinel https://github.com/jockofcode/asdf-spinel
asdf install spinel master
asdf set -u spinel master # make it the default (~/.tool-versions)Or build it from source:
git clone https://github.com/matz/spinel.git
cd spinel
make
export PATH="$PWD/bin:$PATH"
cd -spin run word_stormOr build first and run the binary directly:
spin build
./build/bin/word_storm| Key | Action |
|---|---|
| Letter keys | Type the currently-forming word |
| Backspace | Clear the typing buffer |
| Hold Shift while finishing a golden (yellow) word | Bonus points |
| R | Restart (after game over) |
| Esc | Quit |
(There's no separate Q-to-quit binding — q doubles as a regular letter while typing.)
Type any falling word exactly (case-insensitive) to destroy it and score. Letting a word reach the bottom costs a life — lose all 3 and it's game over.