Mastermind!

버전 1.0.0.0 (2.67 KB) 작성자: Geoff Boynton
Crack the code!
다운로드 수: 3.4K
업데이트 날짜: 2006/7/28

라이선스 없음

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.

인용 양식

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

MATLAB 릴리스 호환 정보
개발 환경: R14SP3
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Strategy & Logic에 대해 자세히 알아보기
도움

줌: Mastermind

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

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