View this PageEdit this PageUploads to this PageVersions of this PageHomeRecent ChangesSearchHelp Guide

Squeak Checkers

Group members:
Eric Ho
Atma Sutjianto
Kait Williams

Objective:
Build a Checkers game using Squeak. A player will play against an AI opponent. The Checkers AI will use a basic Min/Max (with alpha-beta pruning) searching algorithm to find the next best move. The search depth will be limited to two moves to facilitate quick gameplay. Some parts of the UI will reuse codes from Squeak's Chess.

Packages:
There are 3 major packages namely CheckersUI, CheckersGamePlayer,and CheckersAI. CheckersUI contains user interface implementation (pieces using Morphs), CheckersGamePlayer contains middle layer implementation (boards, players, etc), and CheckersAI contains Artificial Intelligence implementation.

Four additional image files (.gif) will be available in the project's ftp site. Put these files in your Squeak directory. When the game starts ,it reads these image files from the directory.

How to start the game:
Once all the packages are loaded and the images are in the right directory, open a Workspace and type:

CheckersGameMorph new initialize openInWorld

Another way to run it is to go to the World menu, select objects, click on Games, and you should be able to drag Checkers out.


Enjoy!


CheckersAI.st
CheckersGamePlayer.st
CheckersUI.st
Uploaded Image: blackKing.gif
Uploaded Image: blackMan.GIF
Uploaded Image: whiteKing.gif
Uploaded Image: whiteMan.gif

Link to this Page

  • Class projects last edited on 2 April 2008 at 5:20:59 pm by vpn3-144241.near.uiuc.edu