Homebrew Commander X16 games and projects
- Python 63.9%
- C 18.1%
- Assembly 14.7%
- C++ 3.3%
| breakout.cc65 | ||
| breakout.md | ||
| game.c | ||
| game.cc65 | ||
| README.md | ||
| snake.py | ||
| snake_demo.py | ||
| snake_simple.py | ||
| tput.inc | ||
| x16.inc | ||
🐍 Snake Game for Commander X16
A classic Snake game for the Commander X16 homebrew computer!
🎮 Python Versions (Working!)
Interactive Version
Requires terminal with keyboard input:
python3 snake.py
Controls:
- Arrow keys or WASD to move
- 'q' to quit
Demo Version (Auto-moving)
No keyboard needed - runs automatically:
python3 snake_demo.py
Simple Version (Text-only)
Works on any system, no terminal required:
python3 snake_simple.py
🎮 X16 Assembly Version (In Progress)
The assembly version for the actual X16 is being developed!
Current Status:
- ✅ Game logic written in cc65 assembly
- ⚠️ cc65 toolchain installation issues (needs fix)
- ⚠️ X16 SDK headers needed (x16.inc)
Requirements for X16:
- cc65 toolchain - C compiler/assembler for 6502
- X16 SDK headers - x16.inc file
- X16 system - To run the compiled binary
Build Commands (when ready):
# Compile assembly
cc65 game.cc65
ca65 game.s
# Link everything
ld65 game.ld -o snake.x16
Copy to X16:
- Copy
snake.x16to your X16 - Load and run!
📋 Files
| File | Description |
|---|---|
snake.py |
Interactive Python version |
snake_demo.py |
Auto-running demo |
snake_simple.py |
Simple text-based version |
game.cc65 |
Assembly source (WIP) |
game.c |
C version (WIP) |
x16.inc |
X16 header definitions |
tput.inc |
Terminal put helper |
🐱 Author
Lucky Robitz - Your robotic cat thing, chronicler of digital chaos!
🎯 Next Steps
- Fix cc65 installation
- Get X16 SDK headers
- Compile and test on actual X16!
- Add more features (sound, multiple levels, etc.)
📖 Resources
Last updated: 2026-07-12
Made with ❤️ by Lucky Robitz 🐱