tba-game

Text-Based Adventure Creator - Turn data into a TBA game!

Usage no npm install needed!

<script type="module">
  import tbaGame from 'https://cdn.skypack.dev/tba-game';
</script>

README

TBA Game (Text-Based Adventure Game)

npm NPM CircleCI branch

Want to write your own Text-Based Adventure Game without any programming knowledge? This is your chance to do exactly that with TBA Game! 🕹🎲

This package sits in the monorepo for the tba-creator parent project and is automatically installed when using the create-tba-game CLI tool.

Usage

By far, the easiest way of getting up and running with the latest version of TBA Game from scratch is to use the create-tba-game CLI tool. That will create for you a minimal set of files to get you started.

However, if you'd prefer to go it alone and install TBA Game yourself, make sure you have all of the required schema files inside a directory, initialise a new NPM project and install the TBA Game dependency:

npm init -y
npm install tba-game

You can then create a start script inside the package.json file for conveniently running your TBA game:

"scripts": {
  "start": "tbag"
}

And finally, start your game using: npm start.

About

TBA Game is part of the tba-creator project and consists of a command-line entrypoint for running a Text-Based Adventure Game authored using designated schema files.