CLI Word Guessing Game is a command-line interface (CLI) application written in Node.js. It is a simple word guessing game where players have to guess a random word letter by letter within a certain number of attempts. The game provides an enjoyable and interactive way to improve vocabulary and word recognition skills.
- Features
- preview
- Prerequisites
- Installation
- usage
- Configuration
- Acknowledgements
- Contributing
- Contact
- License
- Conclusion
- Randomly selects a word from a pre-defined list
- Allows players to guess letters of the word
- Tracks the number of attempts and displays the remaining attempts
- Provides feedback on correct and incorrect guesses
- Ends the game when the word is guessed correctly or when the number of attempts is exhausted
- Supports a variety of customization options, such as changing the word list or the number of attempts
In order to run this project, you will need to have the following installed on your computer:
- nodejs
- yarn | npm
To install the application, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/Silent-Watcher/cli-word-guessing-game
- Navigate to the project directory in your terminal.
cd cli_word_guessing_game
- Run
yarn
to install the necessary packages.
yarn
To start the game, run the following command:
node .
or you can run this project directly from npm :
npx cli_word_guessing_game
The game allows you to customize certain aspects by modifying the config.js file.
- WORD_LIST: The list of words from which a random word is selected. You can modify this list and add your own words.
- MAX_ATTEMPTS: The maximum number of attempts allowed to guess the word.
The CLI Word Guessing Game was inspired by classic word guessing games and developed by Silent-Watcher.
Contributions to this project are welcome. If you encounter any issues or have suggestions for improvement, please open an issue on the GitHub repository.
Before contributing, please review the contribution guidelines.
For additional information or inquiries, you can reach out to the project maintainer:
- Name: Silent-Watcher
- Email: [email protected]
Feel free to contact the maintainer for any questions or feedback regarding the project.
This project is licensed under the MIT License. You are free to modify, distribute, and use the code for personal and commercial purposes. See the LICENSE file for details.
The CLI Word Guessing Game is a fun and educational project that challenges players to guess a word letter by letter. It provides an interactive command-line interface and allows customization to enhance the gaming experience. With its simplicity and entertainment value, this game can be enjoyed by users of all ages.