A terminal game engine for learning programming, inspired by spx.
- Develop games with only config files
- Play games with users' inputted code
If go < 1.23
go install github.com/zrcoder/yaq/cmd/yaq@latestElse
go install -ldflags="-checklinkname=0" github.com/zrcoder/yaq/cmd/yaq@latestThe first thing is defining your game with yaml files.
mygame-dir
├── Scene1
│ └── index.yaml
├── Scene2
│ ├── Level1.yaml
│ ├── Level2.yaml
│ └── index.yaml
└── index.yaml
Run the game
cd mygame-dir
yaq