Classic Mac OS Software (Discussions on Applications) > Application Development & Programming in the Classic Mac OS

Connect 4


I wrote a program G4Stones which is similar to the Fhourstones benchmark. It can save all positions for the first player that lead to victory to a file. To reduce the file size I saved only the first 25 moves. (The moves after the first 13 moves can be quickly calculated.)

Then I wrote my Connect 4 program. It uses these files as an opening book.

This download link will work 14 days:

I improved this program. It calculates the game tree now in 41 minutes instead of 1 day, 3 hours and 35 minutes. This isn't bad for such an old computer. This makes it easier for me to test this program after I change the framework. The opening book is now 37 MB instead of almost 500 MB. It plays now more aggressively.


[0] Message Index

Go to full version