Commit graph

4 commits

Author SHA1 Message Date
6e831f601b
Refactor file structure, and make file 2024-07-16 02:48:19 -07:00
b3b369a076
Add Horizontal and Vertical win checking
Adds horizontal and vertical win checking, as well as tests for such
features.

Adds valgrind to the flake.nix

Adds test_connect4 option to Makefile
2024-07-16 01:43:16 -07:00
5e86f3ccb9
Add compile_commands.json support 2024-07-14 03:51:13 -07:00
cc107f975c
Add meta-files, board structure, and alloc function
Adds meta-files such as the Makefile and flake.lock/nix for easier
project management.

Adds board structure in connect4.h, as well as some helper functions
such as the make_board function to create a board, and the print_board
function to view the board after creation.
2024-07-14 02:45:09 -07:00