Skip to content

soster/adventex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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