Connect Four
2023-06-26
Source: connect-four
A little Connect Four in C, built as a first go at driving SDL2 directly: window setup, loading BMP textures, mouse and keyboard events, a game loop that redraws every frame. Two players share a mouse and keyboard: click a column to drop a disc, and a highlight bar follows the cursor across the top row so you can see which column you're about to drop into.