Skip to content

zrcoder/yaq

Repository files navigation

yaq

A terminal game engine for learning programming, inspired by spx.

Features

  • Develop games with only config files
  • Play games with users' inputted code

Install

If go < 1.23

go install github.com/zrcoder/yaq/cmd/yaq@latest

Else

go install -ldflags="-checklinkname=0" github.com/zrcoder/yaq/cmd/yaq@latest

Usage

The 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

Games powered by yaq

About

A terminal game engine for learning programming

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages