fixed board_t definition
bool instead of int
common.h added, dir_t instead of int
BOARD_SIZE and BOARD_TILES defines