Mac OS 9 Lives

Mac OS 9 Discussion => Development & Programming => Topic started by: OS923 on August 30, 2019, 10:10:58 AM

Title: Connect 4
Post by: OS923 on August 30, 2019, 10:10:58 AM
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:
https://tinyurl.com/connect420190830
Title: Re: Connect 4
Post by: OS923 on October 16, 2021, 03:35:05 AM
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.