AdaOthello

What is AdaOthello?

AdaOthello is a SourceForge project. You can visit my SourceForge project site by clicking on the SourceForge’s logo above. However, I have trouble using ssh to update information at SourceForge. So, you may not be able to obtain the source code from SourceForge server. You can download from the link below.

I wrote this Othello program for three reasons:

  • To teach Ada and GtkAda to my colleagues.
  • To prove to my colleagues that Ada can be used to program games.
  • As a toy for my son, Dmitry, when he grows up. :-)

There are some rooms for improvement. I used a very simple algorithm. AdaOthello has little intelligence and you can win the computer easily. Currently, you can only play Blue side and you cannot switch side. I may add features later when I am free.

The source was completely written in Ada and has been proven to work on:

  • GNAT 3.13
  • GtkAda 1.2.12
  • Linux / Intel / AMD

It has been reported to work on Win98 with GNAT 3.13p and GtkAda 1.3.12 without any modification. Thanks to Jeffery Carter.

[Download AdaOthello source] and unpack it with tar -zxvf adaothello-0.1.tar.gz. Change into adaothello directory and make. E-mail me if you have got problems and comments. Enjoy!

Bugs Report

For reporting a bug, please contact me.

Bugs To Be Fixed

  • The About is missing from the Help menu. The source for About dialog window was accidentally deleted during development.

Wish Lists

  • Animation while flipping the beads.
  • Implement AI using Negamax search with Alpha-Beta pruning, with Iterative Deepening. It has both fixed-depth and fixed-time search modes. May require to rewrite the game-playing algorithm.
  • Preben Randhol Jan 28, 2002 – “It would be nice to add a tiny delay so that one can see the result from your move and then the result from the computers move… make AdaOthello a two player game where the players can connect from different computers.”

Comments

Leave a Reply