Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Connect 4  (Read 5786 times)

OS923

  • 512 MB
  • *****
  • 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
Logged

OS923

  • 512 MB
  • *****
  • 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.
Logged
Pages: [1]   Go Up

Recent Topics

[Off Topic] What did you do with your PowerPC Mac today? by smilesdavis Yesterday at 11:10:58 AM
[Off Topic] Music Faves by jojo2k Yesterday at 07:57:27 AM
[Hardware] Powerbook for OS9 and SVP by BimmyLee August 29, 2025, 09:53:37 PM
[Hardware] MDD Freeze / J20 RAM Slot by aBc August 29, 2025, 07:41:14 PM
[Hardware] G4 MDD only boots using ADC monitor power button by smilesdavis August 29, 2025, 09:31:06 AM
[Hardware] Rev A/B iMac Freezes on Startup by keithiepoo August 28, 2025, 04:42:38 AM
[Off Topic] Power Use by torvan August 27, 2025, 11:01:40 PM
[Mac OS 9, Hacks & Upgrades] help my b+w g3 450 is haunted! upgrading from 8.6 to 9.0 fine but 9.1 ruins it by DieHard August 27, 2025, 04:50:57 PM