![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Squeak CheckersGroup 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 Link to this Page
|