]>
git.scottworley.com Git - slidingtile/blob - sliding_tile_lib.h
4d6c0151e45d622c05e3a0ed98a528bbf80405c5
1 #ifndef _SLIDING_TILE_LIB_H
2 #define _SLIDING_TILE_LIB_H
6 const int BOARD_DIM
= 4;
7 const int BOARD_SIZE
= BOARD_DIM
* BOARD_DIM
;
10 signed char board
[BOARD_SIZE
];
11 bool is_valid() const;
12 signed char hole() const;
14 std::istream
& operator>>(std::istream
& is
, Board
& board
);
16 extern signed char adjacent
[BOARD_SIZE
][5];
18 #endif /* _SLIDING_TILE_LIB_H */