games/mastermind 0.1.0 DragonFly
Traditional console-based Mastermind game
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD3CLAUSE
- Categories
- games
- Package size
- 7.3 KiB, 14.0 KiB installed
Description
This is a traditional console-based Mastermind game. The rules are as follows:
- The game will generate a 4-digit color/number code
- The range of colors/numbers is from 1 to 8
- The player has 10 chances to guess the code
- After each guess, the system will provide hints:
- Green plus sign (+) indicates both color and position are correct
- Red minus sign (-) indicates the color is correct but the position is wrong
- The player needs to gradually guess the correct code based on the hints
- During the game, you can enter 'r' at any time to switch display mode (color blocks/numbers)
- During the game, you can enter 'q' at any time to exit the game
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | games/mastermind | 0.1.0 |
| FreeBSD | games/mastermind | 0.1.0 |
Install
Binary package:
pkg install mastermind
From DPorts:
cd /usr/dports/games/mastermind && make install clean
Dependencies
No port depends on this one.