Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming

Tic Tac Toe Entry Contest Review for Jim McKeeth

About.com Rating four out of Five

By Zarko Gajic, About.com

TTT Entry by Jim McKeeth

TTT Entry by Jim McKeeth

The Bottom Line

Jim has done a great work of creating a special purpose class to support the game. The class derives from TGraphicsControl and knows how to “draw” the board and the moves.
Pros
  • Implemented a learning expert system
  • Has 5 levels of computer AI
  • Enables computer vs. computer game
Cons
  • GUI could be better
  • No game results history

Description

  • Game field is drawn on a TPanel, using user-defined class that derives from TGraphicsControl.
  • GUI is unfortunately not too creative.
  • Could serve a starting point for beginners interested in threading, interfaces, and OOP in general.

Guide Review - Tic Tac Toe Entry Contest Review for Jim McKeeth

Jim successfully implemented a Tic-Tac-Toe learning expert system. In the beginning the AI does not know how to win a game, but it knows how to play. As it plays it learns what are winning moves and what are loosing moves. The source of the game even includes implementing an (user defined) interface and other elements of OOP - great job.
User Reviews Write Review

Explore Delphi Programming

About.com Special Features

Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.