MinRoob is a multiplayer minesweeper game that allows two players to compete in finding hidden mines on an 8×7 grid. The game features turn-based gameplay, color-coded mines, and a scoring system. The player who finds 50% or more of the mines first wins.
- Multiplayer Mode (2 Players)
- Randomly Generated Mines
- Auto-Reveal for Empty Cells
- Color-coded Mines for Players (Red & Blue)
- Turn-based Gameplay
- Dynamic Score System
- Winning Threshold: 50% of the Mines
- Option to Restart or Exit after Each Game
- Install Python (if not installed) Download Python
- Clone this repository:
git clone https://github.com/yourusername/MinRoob.git
- Navigate to the project folder:
cd MinRoob
- Run the game:
python minroob.py
- Players take turns selecting a cell on the grid.
- If a mine (M) is found, the player earns 1 point.
- If a number is revealed, it represents the number of mines in adjacent cells.
- If an empty cell (0) is revealed, the game automatically uncovers connected empty cells.
- The player who finds 8 mines (50% of 15) first wins.
- If all 15 mines are found, the player with the highest score wins.
- Red (🔴) → Player 1 (Finds red mines)
- Blue (🔵) → Player 2 (Finds blue mines)
- First to reach 8 points wins immediately.
- If all 15 mines are revealed, the highest score wins.
- In case of a tie, the game ends in a draw.
- Add Single-Player Mode
- Implement Graphical User Interface (GUI)
- More difficulty levels and board sizes
Feel free to fork, modify, and submit a pull request! Any contributions to improve the game are welcome.
This project is open-source and available under the MIT License.
مینروب یک بازی مینیاب چندنفره است که به دو بازیکن اجازه میدهد تا در یک صفحه ۸×۷ با یکدیگر رقابت کنند. هدف بازی یافتن مینها است. هر بازیکنی که ۵۰٪ از مینها را زودتر پیدا کند، برنده خواهد شد.
- حالت دو نفره
- تولید تصادفی مینها
- کشف خودکار خانههای خالی
- مینهای رنگی برای بازیکنان (قرمز و آبی)
- بازی نوبتی
- سیستم امتیازدهی پویا
- حد نصاب برنده شدن: ۵۰٪ از مینها
- گزینه شروع مجدد یا خروج پس از هر بازی
- نصب پایتون (در صورت عدم نصب) دانلود Python
- کلون کردن مخزن:
git clone https://github.com/yourusername/MinRoob.git
- ورود به پوشه پروژه:
cd MinRoob
- اجرای بازی:
python minroob.py
- هر بازیکن نوبتی یک خانه را انتخاب میکند.
- اگر یک مین (M) پیدا کند، ۱ امتیاز دریافت میکند.
- اگر یک عدد ظاهر شود، نشاندهنده تعداد مینهای مجاور است.
- اگر خانهای خالی (0) باشد، سیستم بهصورت خودکار خانههای متصل خالی را آشکار میکند.
- اولین بازیکنی که ۸ مین (۵۰٪ از ۱۵ مین) پیدا کند، برنده میشود.
- اگر همه ۱۵ مین پیدا شوند، بازیکنی که امتیاز بیشتری دارد، برنده است.
- 🔴 قرمز → بازیکن ۱ (مینهای قرمز)
- 🔵 آبی → بازیکن ۲ (مینهای آبی)
- اولین بازیکنی که به ۸ امتیاز برسد، برنده است.
- اگر همه ۱۵ مین کشف شوند، بیشترین امتیاز برنده خواهد شد.
- اگر امتیازات برابر باشند، بازی مساوی تمام میشود.
- اضافه کردن حالت تکنفره
- ساخت رابط گرافیکی (GUI)
- سطوح سختی و اندازههای مختلف برای صفحه بازی
اگر علاقهمند به بهبود بازی هستید، میتوانید فورک کنید، تغییر دهید و Pull Request ارسال کنید!
این پروژه متنباز است و تحت مجوز MIT منتشر شده است.