3.2.0 • Published 4 years ago
@tacosandcoffee/text-rpg v3.2.0
text-rpg
A small text-based single player game. Its creation was inspired by Zork.
Installation
$ npm i -g @tacosandcoffee/text-rpg
Use
$ text-rpg
Controls
The player is given a prompt to either move
or act
.
move
If the player chooses to move
, the player then most decide which direction to move
based on cardinal directions, north
, south
, east
, and west
act
If the player chooses to act
, the player is asked if they would like to perform the proposed action.
yes
- performs the action
no
/any other response - cancels act
Goal
That is for the player to discover.