Skip to content

lucasluizss/zork-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Zork - Unofficial TypeScript Version

Made by lucasluizss


Zork was directly inspired by the first text adventure game, Colossal Cave Adventure, written in 1975. Zork distinguished itself in its genre as an especially rich game, in terms of both the quality of the storytelling and the sophistication of its text parser, which was not limited to simple verb-noun commands ("hit troll"), but recognized some prepositions and conjunctions ("hit the troll with the Elvish sword").
Source

โš™๏ธ Setup

โ›“๏ธ Requirements

๐Ÿ–‡๏ธ Installing dependencies

First of all you need to install the dependencies running the command below in your terminal:

cd zork-ts
npm install

๐Ÿƒ Running

๐Ÿ”‘ Bot Environment

BOT_TOKEN=secret-value
CHAT_ID=secret-value
MAP_URI=secret-value
USER_MAXIMUM_ATTEMPTS=secret-value

๐Ÿ–ฅ๏ธ Console Execution

npm start:console

Console screenshot

๐Ÿค– Play with Telegram bot

Try the bot using this link or search for @ZorkFirstBot.

Bot screenshot

โœจ Executing console with a selected language

๐ŸŒ Supported Languages

Flag Language Code
๐Ÿ‡บ๐Ÿ‡ธ English en
๐Ÿ‡ง๐Ÿ‡ท Portuguese pt

e.g.:

npm start:console -lang pt

or

npm start:console --lang=pt

๐Ÿ‘ค Author

Made with โ™ฅ by Lucas Silva

Website - Lucas Silva ย ย ย  Linkedin - Lucas Silva ย ย ย  Email - Lucas Silva

About

๐Ÿ’€ Zork - Unofficial TypeScript Version

Resources

License

Stars

Watchers

Forks

Packages

No packages published