Skip to content

soster/adventex

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

Adventex

Adventex is a simple interactive fiction (text adventure) game with its own adventure system. The adventure is defined by a couple of json files. The game is playable at thoster.net.

It starts with a demo adventure (kind of an escape room game) and a tutorial.

Prerequisites

You need node.js and npm

Install

First you need to install the npm dependencies: npm install

Run

You can serve adventex locally: npm run serve

or build it with: npm run build

Unit Tests

Unit tests only work with a real browser. Start them like this: npm run serve-tests

Playing

If you want to learn playing text adventures, go to "options" and hit "tutorial". This is what you get if you enter help:

Most of the time, typing something like verb object works. Example: open door.

You can go to a possible direction typing go (direction).

You can examine the room or any object typing examine (object). Look around with look. More complex sentences are possible, example: open box with crowbar.

Type help verbs to get a list of possible verbs.

About

A javascript text adventure framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published