Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/games/gomoku



Module Name:    src
Committed By:   rillig
Date:           Sat May 21 10:01:49 UTC 2022

Modified Files:
        src/games/gomoku: pickmove.c

Log Message:
gomoku: prevent thinking for too long

At search depth 9, picking a move takes about a minute on modern
hardware, which is enough for casual game play.  Even then, gomoku does
not always find the perfect move, so investing that much time seems
questionable.  Limiting the search depth also puts an upper bound on the
memory usage, which is quite high with 150 MB.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/games/gomoku/pickmove.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index