From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Chess Game

Code and Documents

Attachment

(latest version 5.5)


Chess Game with artificial intelligence 100% LabVIEW 

AI : algorithm  MinMax  +  Alpha-Beta pruning

two game levels : "novice" and "Jedi"

editing interface  (edit on/off)

a) moving mode : left-clic on the starting square, left-clic on the destination square

b) positioning mode : right-clic on a square opens a context menu to choice the piece.

This engine 5.5 is stronger than the previous engine 5.0 (Jedi level) ... good luck 

unzip, run "Chess_ouadji.vi",  have fun!

Ouadji,


beta1.png

if you like my chess game, a kudo is welcome. (here, first post)

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors