#ifndef INCLUDED_BOARD_H #define INCLUDED_BOARD_H #include #include #include "bitarray.h" struct board { struct bitarray bitarray; uint32_t rows; uint32_t cols; }; void board_init (struct board *, uint32_t rows, uint32_t cols); void board_free (struct board *); void board_set (struct board *, int32_t row, int32_t col, bool); bool board_get (struct board *, int32_t row, int32_t col); #endif