Welcome to the Alpine.js and Tailwind CSS-powered Mastermind game! Challenge yourself and showcase your front-end coding skills in this classic code-breaking game.
Check out the live demo of the Mastermind game here. Enjoy playing!
- Start Guessing: Begin the game by selecting colors.
- Feedback: Receive feedback on your guess and refine your strategy.
- Keep Guessing: Continue making guesses to crack the code.
To get started with the Mastermind game, follow these steps:
Clone the repository to your local machine:
git clone https://github.com/mahiarirani/mastermind.git
Navigate to the project directory:
cd mastermind-game
Install the project dependencies:
npm install
Build the project:
npm run build
Open the index.html
file in your preferred web browser to start playing the game.
Alternatively, if you want to start a live development server with hot-reloading, you can use the following command:
npm run dev