game-cli

1.1.3 • Public • Published

game-cli

node program to make text based adventure games

simply run game-cli your JSON file needs:

Name

Description

Rooms

An array of all the rooms inyour game.

Rooms must Have:

Name

Description

Go

an object each item is a key-value pair where if the user types "go [key]" they will end up on the room with the name [value]

Rooms May Have:

win

a boolean, if true the game will play this rooms the description and end the game.

Readme

Keywords

Package Sidebar

Install

npm i game-cli

Weekly Downloads

1

Version

1.1.3

License

MIT

Last publish

Collaborators

  • alexstory