Skip to content

mahiarirani/mastermind

Repository files navigation

Mastermind Game

AlpineJs JavaScript Tailwinds

Overview

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.

Demo

Check out the live demo of the Mastermind game here. Enjoy playing!

How to Play

  1. Start Guessing: Begin the game by selecting colors.
  2. Feedback: Receive feedback on your guess and refine your strategy.
  3. Keep Guessing: Continue making guesses to crack the code.

Getting Started

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