Zigtris
A minimal terminal Tetris written in Zig
Install / Use
/learn @ringtailsoftware/ZigtrisREADME
Zigtris
A minimal terminal Tetris written in Zig. Tested with Zig 0.15.2
zig build run
Cursor keys to move, space to drop, q to quit.

Run as a service via ssh
./run-as-service.sh
ssh zigtris@localhost -p 2022
Notes
Some notes for anyone looking at the code:
Displayis a thin wrapper on top of themibuterminal library, it provides a double buffered one pixel per character interface where it only redraws changed pixels on the buffer flipStageis the game stage and provides a square pixel interface on top ofDisplay(by printing two chars for each pixel)Playerholds theTetronimoshapes and movement logicDebrisholds the list of fallen blocks for hitchecking and completed line detection
License
MIT
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
