solitaire-c64/README.md

35 lines
914 B
Markdown

# Solitaire C64
A classic Klondike solitaire card game for the Commodore 64.
## Features
- Full Klondike with draw-1 and draw-3 modes
- Joystick and 1351 mouse support
- Extended color mode graphics with sprite cursor
- Hardware-seeded RNG for shuffling
## Building
Requires the [c65gm compiler](https://git.techserio.com/mattiashz/c65gm) and ACME assembler:
```bash
./cm.sh
```
Outputs `main.prg` ready to load on C64 or emulator.
## Project Structure
- `cardgame.c65` - Main entry point and initialization
- `gameloop.c65` - Game loop, interaction, and pile detection
- `cardmoves.c65` - Move validation and execution logic
- `cardrender.c65` - Card and pile rendering routines
- `carddeck.c65` - Deck shuffling and dealing
- `mouse.c65` / `joystick.c65` - Input handling
- `pointer.c65` - Sprite cursor management
- `cardsprites.c65` - Sprite data for cursor
## License
See LICENSE file for details.