Author Topic: Connect 4  (Read 3793 times)

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Connect 4
« 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

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Connect 4
« Reply #1 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.