Skip to content

boribs/text-adventures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Adventures!

A very simple text adventures engine that I developed for school.

It reads files that follow this syntax (JSON):

{
"title": "adventure's title",
"author": "adventure's author",
"version": "adventure's version",
"sections": [
    {
        "id": #section id,
        "text": "section text",
        "options": [
            {
                "id": #option id,
                "text": "option text"
            }
        ]
    }
]
}

How to use

  1. Create adv executable (run make build)
  2. Run adv <filepath>

About

A very simple text adventures engine

Resources

License

Stars

Watchers

Forks