summaryrefslogtreecommitdiff
path: root/games/gomoku
AgeCommit message (Expand)Author
2022-06-19gomoku: remove redundant parenthesesrillig
2022-06-19gomoku: reduce usage of magic numbers in the coderillig
2022-05-31Elide vax breakagechristos
2022-05-29gomoku: clean up variable names, add empty linesrillig
2022-05-29gomoku: clean up color handling in 'pickmove'rillig
2022-05-29gomoku: clean up 'pickmove' stylisticallyrillig
2022-05-29gomoku: migrate remaining functions to type player_colorrillig
2022-05-29gomoku: make parsing of the debug command 'o' robustrillig
2022-05-29gomoku: clean up overlap info in 'checkframes'rillig
2022-05-29gomoku: do not scan the upper border for combosrillig
2022-05-29gomoku: refine the type of some functions and variablesrillig
2022-05-29gomoku: when starting a new game, start in the middle of the boardrillig
2022-05-29gomoku: after accepting a spot via the mouse, clear current coordinaterillig
2022-05-29gomoku: add type player_colorrillig
2022-05-29gomoku: use unsigned integers for bit setsrillig
2022-05-29gomoku: provide a more gentle introduction to the coderillig
2022-05-29gomoku: don't use 'i' as special-purpose variable namerillig
2022-05-29gomoku: consistently name the offset of a spot in a frame 'off'rillig
2022-05-29gomoku: add data type for one of the 4 directions of a framerillig
2022-05-29gomoku: clean up four_in_a_rowrillig
2022-05-29gomoku: extract quick_check from scanframesrillig
2022-05-29gomoku: use proper types when indexing 'board' and 'frames'rillig
2022-05-29gomoku: turn spotstr.s_frame into a frame indexrillig
2022-05-29gomoku: document where to fix the unnecessarily long thinking timerillig
2022-05-29gomoku: migrate 'makemove' to using spot_index instead of pointerrillig
2022-05-29gomoku: migrate pickmove to use spot_index instead of pointersrillig
2022-05-29gomoku: migrate spot_index from int to unsigned shortrillig
2022-05-29gomoku: use consistent variable namesrillig
2022-05-28gomoku: use custom magic value for end of file inputrillig
2022-05-28gomoku: use unsigned arithmetic for bitboardrillig
2022-05-28gomoku: document that 'whatsup' is called on ^C as wellrillig
2022-05-28gomoku: allow saving a finished game without pressing Shiftrillig
2022-05-28gomoku: remove redundant parentheses, braces, newlines, clean up get_keyrillig
2022-05-28gomoku: clean up initialization of overlap informationrillig
2022-05-28gomoku: clean up local variable names in init_overlaprillig
2022-05-28gomoku: split initialization of the board into smaller functionsrillig
2022-05-28gomoku: highlight the winning framerillig
2022-05-28gomoku: group movelog and nmoves into a game structrillig
2022-05-28gomoku: split makemove into smaller functionsrillig
2022-05-28gomoku: announce tie as early as possiblerillig
2022-05-28gomoku: extract update_overlap_different_directionrillig
2022-05-28gomoku: extract separate function update_overlap_same_directionrillig
2022-05-28gomoku: reduce number of variables in update_overlaprillig
2022-05-28gomoku: reduce scope of local variablerillig
2022-05-27gomoku: reduce variable reuse, make code more uniformrillig
2022-05-27gomoku: reduce scope of local variablesrillig
2022-05-27gomoku: allow Black to win the game in the very last moverillig
2022-05-27gomoku: fix off-by-one error when deciding that the game is a tierillig
2022-05-27gomoku: replace 1-based movenum with 0-based nmovesrillig
2022-05-27gomoku: split local variable into separate variablesrillig