Related AI programs

In developing Numpty I first started off by learning to code some other simpler games that use the same techniques that are needed in a chess engine.

Writing programs to play noughts and crosses and connect 4 were very helpful in learning about how a computer opponent searches for the best move to play.  

Noughts & Crosses
- Tactix
This simple console implementation uses the alpha beta algorithm to play perfectly. Documented source code is included.

Connect 4
- Linx
Another console application which plays a very strong game on the hardest level. Documentation and source code is included.

Key features:

  • variable level setting
  • opening book with separate book builder
  • alpha beta search with iterative deepening
  • perfect endgame play (last 17 moves)