Skip to content

Commit 5a87661

Browse files
authored
Create README.md
1 parent 3b56ec8 commit 5a87661

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

games/mastermind/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# 🎯 Mastermind Game (Bulls and Cows)
2+
3+
Welcome to **Mastermind** — a logic-based code-breaking game where your mission is to guess the secret sequence of colors using deduction, logic, and a bit of luck!
4+
5+
---
6+
7+
## 🎮 Features
8+
9+
- 👤 **Name Input**: Start by entering your name.
10+
- 🎚 **Difficulty Levels**:
11+
- Easy
12+
- Medium
13+
- Hard
14+
- Expert
15+
- ⏱️ **Live Timer** to challenge your speed.
16+
- 🏆 **High Score Viewer**: Check your current best results.
17+
- 🧾 **Rules Page** available for players unfamiliar with the game.
18+
- 🏠 **Home Button** with modal confirmation.
19+
20+
---
21+
22+
## 🧠 How to Play
23+
24+
1. **Enter your name** in the input field.
25+
2. **Select a difficulty level** to begin the game.
26+
3. Try to guess the hidden color sequence by submitting guesses.
27+
4. Use the game’s feedback to refine your guesses:
28+
- **Bull** (red): Correct color in correct position
29+
- **Cow** (black): Correct color in wrong position
30+
5. Beat the clock and break the record!
31+
32+
---
33+
34+
## 🧪 Technologies Used
35+
36+
- HTML5
37+
- CSS3
38+
- JavaScript (Vanilla)

0 commit comments

Comments
 (0)