1.6.0 • Published 5 years ago

scure v1.6.0

Weekly downloads
25
License
ISC
Repository
github
Last release
5 years ago

SCURE - Script Creation Utilities for Ric Escape (Conversational adventures).

SCURE is a javascript engine for creating conversational or adventure games.

It sets its focus on the workflow of the game. No graphics or input handling, just maintains the state on the game based on the actions that the user does.

It's perfect for games based on text only or voice only input, like Google Assistant games or console text games.

Usage

Check https://github.com/jmarti-theinit/ric-escape to see an example.

  • Create a data.js
  • Handle input and use scure* commands.

Instalation

npm install --save scure

Instructions and commands

  • require('scure').buildScureFor (data) : builds scure object that is used to parse data JSON.
  • require('scure').dsl : functions to build the data JSON.
  • require('scure').commands : scure* functions to execute over the data JSON and the user input.
  • require('scure').lib : helper functions (as stateIsUnlocked) to be used on your app.
1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.1.0

5 years ago

1.0.10

5 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago