https://github.com/danfarrow/fighting-fantasy-fighter
node command line companion app for playing Fighting Fantasy books
https://github.com/danfarrow/fighting-fantasy-fighter
es6 es6-modules node-cli oop
Last synced: about 1 month ago
JSON representation
node command line companion app for playing Fighting Fantasy books
- Host: GitHub
- URL: https://github.com/danfarrow/fighting-fantasy-fighter
- Owner: danfarrow
- Created: 2020-12-07T17:53:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-11T16:02:19.000Z (almost 5 years ago)
- Last Synced: 2025-03-12T16:17:57.326Z (about 1 year ago)
- Topics: es6, es6-modules, node-cli, oop
- Language: JavaScript
- Homepage:
- Size: 1.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fighting-fantasy-fighter
__node command line companion app for playing Fighting Fantasy books__
### [Try it online here!](https://repl.it/@danfarrow/fighting-fantasy-fighter)
I introduced my son to [Fighting Fantasy](https://www.fightingfantasy.com/) gamebooks and then became slightly obsessed with making a node cli app, using oop & native javascript modules, to keep track of our playthroughs.
## Features
* Simple menu driven interface with player dashboard & ASCII dice
* Gripping creature battles _(Requires a [Fighting Fantasy](https://www.fightingfantasy.com/) book)_
* Set attributes with absolute (`7`, `8`, `9`) or relative (`+1`, `+3`, `-4`) values
* Add new attributes for flexible gameplay
* Add / remove / clear inventory items & notes
* Save multiple snapshots of current game state
* Export / import entire game state, including snapshots, as JSON
* Prompts user for bookmark on quit & autosaves game state as `autosave.json`
[](https://asciinema.org/a/393248)

## Usage
* Requires `node` & `npm`
* `npm run install` to install dependencies
* `npm link` to create a global link
* `fff` to run
* Choose menu items by typing the corresponding number
Note: I've only used this on Ubuntu Linux. If you try it on another system please let me know what happens!
## Coming soon
* Add / edit custom game rules
* Simpler inventory management
* Friendlier export interface
* More thrillingness