Simple Chess game

Version 1.0.0 (6,29 ko) par Thomas
I tried to keep it "minimalistic", so strength isn't great.
110 téléchargements
Mise à jour 26 sept. 2022

Afficher la licence

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.

Citation pour cette source

Thomas (2024). Simple Chess game (https://www.mathworks.com/matlabcentral/fileexchange/118150-simple-chess-game), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2020a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0