Document listing features of AdventureJS.
features
Features
-
Extensive and fully searchable documentation
-
Dual debug streams
For player and developer
- Real time debugging
-
No compiling
AdventureJS game code
is the game file.
-
Handles "go to" with built-in pathfinding using Dijkstra's
algorithm
-
Over 170 verbs, each with distinct logic
- Easy enable/disable verbs
- Customize built-in responses
- Handle three nouns
- Built-in scoring system
- Built-in hint system
-
Allows authors to define custom pronouns
-
Allows authors to set distinct person for parser and player
First person parser: I don't know the word foo. vs
Second person player: You can't take the bar.
- Optional x|y|z coordinate tracking
-
Handles titles with periods, like Mrs., Dr., Ph.D., etc.
-
Give complex instructions to NPCs
In the
phrase
Barberfella, take scissors then go east then drop scissors then go
west
each clause will be handled as a distinct command that considers current
world state.
-
Dynamic asset creation
Use
game.addClass() to create new assets at runtime.
-
Parser handles objective pronouns: him, her, it, them
-
Parser handles possessive pronouns: his, her, its, their
-
Parser handles possessive nouns with apostrophes, such as
take the Adventurer's lamp
-
Parser recognizes common body parts that haven't explicitly been defined
as distinct objects, such as tickle the Grue's toes
-
Easily create ad hoc Javascript functions
-
Portability
Run your game on any web page.
-
Game file bundler
Easily save your game as a
single HTML file for upload to itch.io or any other website.