Coder Social home page Coder Social logo

fighting-fantasy's Introduction

About

A framework and UI for playing games in the Fighting Fantasy book format.

Game

To play, the game expects a zip file or a directory containing game files. The folder should contain the following structure:

game
├── config
│   ├── flags.xml
│   └── items.xml
├── images
│   ├── 1.png
│   ├── 204.png
│   └── 78.png
└── pages
    ├── 0.xml
    ├── 1.xml
    ├── 10.xml
    ├── 106.xml
    ├── 107.xml
    └── intro.xml

The game will start at an intro page: pages/intro.xml

See the docs directory in this repository for items and page schemas. See the docs/reference.xml file for an example page that demonstrates the different tags.

fighting-fantasy's People

Contributors

arustleund avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fighting-fantasy's Issues

Allow story to be chosen

Instead of hardcoding the story to load, add a story chooser on start up. User should be able to select a folder for now.

Add testFlagLink closure

Add a new Closure, that will only go to a link if a flag is set to false. Optionally check if the flag is true, optionally set the flag to true when followed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.