games/mastermind 0.1.0 FreeBSD
Traditional console-based Mastermind game
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- games
- Package size
- 8.4 KiB, 14.9 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 |
|---|---|---|
| FreeBSD | games/mastermind | 0.1.0 |
| DragonFly | games/mastermind | 0.1.0 |
Install
Binary package:
pkg install mastermind
From the ports tree:
cd /usr/ports/games/mastermind/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= mastermind>0:games/mastermind
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.1.0 | 0.1.0 | - | 0.1.0 | 0.1.0 |
| FreeBSD:14:quarterly | 0.1.0 | 0.1.0 | n/a | 0.1.0 | 0.1.0 |
| FreeBSD:15:latest | 0.1.0 | 0.1.0 | n/a | 0.1.0 | 0.1.0 |
| FreeBSD:15:quarterly | 0.1.0 | 0.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1.0 | 0.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| bigdragonsoft-mastermind-0.1.0_GH0.tar.gz | 87698 | 88d3ea65b8b2a7c1089cd429e5c9d817c56428140be91527991c7968f967753b |
Commit history 0
No commits in the history this site was built from.