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:           Sun May 15 22:18:36 UTC 2022

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

Log Message:
gomoku: remove column macros

Of the 19 macros, only 3 were actually used.  Replace their uses with
expressions based on the board size.  It's a small step to making the
board size adjustable.  There are still other places using hard-coded
numbers.

No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/games/gomoku/gomoku.h
cvs rdiff -u -r1.25 -r1.26 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