Mastermind

バージョン 1.1.0 (13.6 KB) 作成者: chicken vector
Play Mastermind on MATLAB with animations, splash arts and engine solutions.
ダウンロード: 17
更新 2022/8/29

ライセンスの表示

SUMMARY: the code creates a Mastermind GUI with pixel-art graphics, objects interactivity and an engine for any hints when you feel stuck.
RULES: you have 10 attempts to guess a hidden code made of four repeatable colors. Each turn, a feedback of your attempt will be shown on the right side of the GUI: each white peg indicates that you have guessed correctly one color, but not its position; black pegs mean that you have guessed correctly both color and position. Be carefull as the feedback peg do not give you any information on what color or position you may have guessed.
CONTROLS: while left-clickig on a peg, move the mouse to drag it around. Release the left-click to place the peg on the board.
OPTIONAL: download the 'data.mat' file to have all availble in-game splash arts, otherwise play with a minimal GUI, but still preserving 3D peg shapes, borders and details.
MENU: click PLAY to play a game, HINT to a have a suggestion for the current attempt, EXIT to close the game.
AUTHOR: Eduardo Maria Polli
MAIL: eduardo.polli94@gmail.com

引用

chicken vector (2024). Mastermind (https://www.mathworks.com/matlabcentral/fileexchange/116790-mastermind), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2020b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加
謝辞

ヒントを得たファイル: Minesweeper

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0

Increased animations smoothness for dragged peg.

1.0.2

Bug fix: using hint when some pegs have already been placed, now resets the attempt instead of hiding the pegs.

1.0.1

Fixed end-game splash art bug, which was not removing when starting a new game.

1.0.0