reformat and refactor a bit
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
bool move_ok(const tile_t board[BOARD_SIZE],
|
||||
index_t from,
|
||||
index_t to,
|
||||
int player);
|
||||
int player);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "common.h"
|
||||
|
||||
bool tile_empty(tile_t t);
|
||||
index_t abs_pos(index_t p);
|
||||
index_t abs_index(index_t i);
|
||||
index_t column(index_t i);
|
||||
index_t row(index_t i);
|
||||
tile_t abs_tile(tile_t t);
|
||||
|
||||
Reference in New Issue
Block a user