File Exchange

image thumbnail

Draft / Checkers

version (42.9 KB) by Suleman Shafqat
Traditional rules, simple logic, easily understandable code, especially for beginners


Updated 24 Mar 2011

View Version History

View License

The draft is one of the requirement of learning chess, if u are a beginner then u should start with draft.
i myself first made draft and extended it to chess, so this upload will help u build ur basic on how does the graphics user interface can be used for similar kind of applications.
i will prefer u to first go through my game TicTacToe which is much more simplified but both are using same logic of virtual board by declaring a 2D array and then updating that after each turn.

hope this description helps better than previous.

Cite As

Suleman Shafqat (2021). Draft / Checkers (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Fazal Wahab

Hello, I just have started machine learning, and don't know how to use Matlab, I really wanted to start with Checkers. When I run the Checkers.m I get the following error:

error: 'gui_mainfcn' undefined near line 72 column 5
error: called from
Checkers at line 72 column 5

I searched for 'gui_mainfcn', but didn't find it.

mohammad sangsaz

Muhammad Hussain

good work....

Muhammad Hussain

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!