Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

mallo-c/qs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qs

qs is a quest engine.

How to build qs

git clone https://github.com/mallo-c/qs
cargo build --release

A binary file qs will appear in target/release directory.

Example configuration

levels:
  start:
    legend: |
      Welcome to level 1!
    next:
      caption: GO!
      to: lev2
  lev2:
    legend: |
      Guess a number from 1 to 10.
    next:
      caption: I guessed it!
      to: lev3
  lev3:
    key: !exact 7
    legend: |
      it is 7. Well, how about something more difficult?
      Guess a number between 1 and 100.

      Tip: h0w 4b0ut l00k1ng t0 th1s t3xt?
    next:
      caption: Submit
      to: success
  success:
    key: !exact 40
    legend: |
      That is it!
strings:
  name: demo quest

How to run

Run:

path/to/qs path/to/config.yml

About

a quest engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published