NetLogo banner
 Home Page
 Download
 Models
 Community Models
 Extensions
 User Manual:
  Web version
  Printable version
  Chinese version
 FAQ
 Resources
 Contact Us

NetLogo User Community Models

(back to the NetLogo User Community Models)

Chess

by Corey Haddad (Submitted: 03/17/2009)

[screen shot] Run Chess in your browser
uses NetLogo 3.1.5
requires Java 1.4.1+
(system requirements)

Download Chess
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".

Note: If you have trouble running the model in your browser, you may wish to download the application instead.

WHAT IS IT?

A simple chess program. Not fully playble and many bugs but works as proof of concept.

HOW IT WORKS

There are procedures that generate the possible moves for each piece and then each move is scored according to several criteria. Every possible move and its associated score are compiled into a list. The move with the highest score is the one played.

HOW TO USE IT

Do you know how to play chess?

THINGS TO NOTICE

The computer is only tactical with no strategy whatsoever. Check is not enforced or played properly.

THINGS TO TRY

Rewrite the code and make it better.

CREDITS AND REFERENCES

The program was written solely by Corey Haddad. I consulted nothing in the creation of the program. My goal was not to write a great chess program with lots of help but to see if I could write any type of chess program with no help, NetLogo documentation not withstanding.

(back to the NetLogo User Community Models)