Skip to content

einarwh/hyperwizard

Repository files navigation

Hypermedia in the Wizard's Tower is a simple text-based adventure game starring hypermedia using the Siren format.

To install dependencies type

npm install

Start the program locally with

node start.js
> game.void()

Alternatively, you can run the game server in the cloud with

node run.js
> game.azure()

Help?

> game.help()

Where you are?

> game.at

What it looks like there?

> game.all()

Things to do that might alter the state of the world?

> game.actions()

To do action 'pontificate', with some parameters:

> game.do('pontificate', { topic: 'the arts', duration: '3 hours' })

Available hyperlinks aka places to go?

> game.links()

To navigate to the third available link:

> game.go(2)

To follow a link header if one was provided:

> game.follow()

About

Hypermedia in the Wizard's Tower

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published