rudism / ficdown.js

Ficdown parser and runner in Javascript
MIT License
19 stars 9 forks source link

Add some configurable options #3

Closed rudism closed 5 years ago

rudism commented 9 years ago

Needs ability to define certain behaviors of the game engine, for example:

rudism commented 6 years ago

Partially addressed, you can now pass two additional parameters to the Player constructor to override the text used for the start link, and markdown to be rendered for the "game over" state.

new Player(story, 'main', 'Click here to start...', '## Game Over\n\n[Click here](/main) to restart.')
starvingindie commented 6 years ago

Paged mode would be super awesome. Also thanks for implementing the Begin and Start Over Text.