Mastermind!

Crack the code!
3,4K download
Aggiornato 28 lug 2006

Nessuna licenza

Matlab implementation of the 'Mastermind (R)' board game

mastermind([number of colors],...
[number of columns],...
[number of rows])

default values: mastermind(6,4,10)

Click on pegs on the right to choose the color.
Click on the empty peg boxes to place a peg
(keep clicking to cycle through colors).
Click on 'GO' to get results for that row.

White indicates correct color, but not correct location
Black indicates correct color in the correct location

Note: you can cheat by clicking on the boxes in the top row to reveal the hidden pegs.

Cita come

Geoff Boynton (2024). Mastermind! (https://www.mathworks.com/matlabcentral/fileexchange/11798-mastermind), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14SP3
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Strategy & Logic in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Mastermind

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

User no longer needs to select a color at beginning of game.