Simple Chess game

バージョン 1.0.0 (6.29 KB) 作成者: Thomas
I tried to keep it "minimalistic", so strength isn't great.
ダウンロード: 94
更新 2022/9/26

ライセンスの表示

Run "playchess(3)" to start a game with search tree depth = 3
Then choose:
(1)-for playing WHITE against Computer
(2)-for playing BLACK against Computer
(3)-Computer plays against itself.
or alternatively type "playchess(4,3)" to start a game with search tree depth = 4 and computer against itself.
I tried to keep it "minimalistic", so strength isn't great. There is only console input and output. No special strategies e.g. for opening or end game situations are implemented.
The function for evaluating the search tree is very simple, so the program sometimes surprises with weird moves. Choosing a more sophisticated evaluation function would most likely improve strength and eliminate weird actions.

引用

Thomas (2024). Simple Chess game (https://www.mathworks.com/matlabcentral/fileexchange/118150-simple-chess-game), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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