A simple command-line game implemented in TypeScript. Try to guess the secret number between 1 and 20 with only 5 lives. Can you beat the odds and win?
- Colorful and interactive command-line interface.
- Animated feedback messages to enhance the experience.
- Option to restart the game after winning or losing.
This project uses the following dependencies:
- inquirer - For interactive command-line prompts.
- chalk - For adding color to the console output.
- chalk-animation - For animating the welcome message.
- nanospinner - For displaying a spinner.
Run the game using the following command: (or clone the repo)
npx ts_guess-the-number