X-Git-Url: http://git.scottworley.com/slidingtile/blobdiff_plain/d85437b1e3f5a8ed633a90f6e2ee14ca2f7713b5..32688d85f745574d7bbf941985234458d2776cce:/sliding_tile_lib.h?ds=inline diff --git a/sliding_tile_lib.h b/sliding_tile_lib.h index 7e6004b..8967324 100644 --- a/sliding_tile_lib.h +++ b/sliding_tile_lib.h @@ -1,8 +1,14 @@ #ifndef _SLIDING_TILE_LIB_H #define _SLIDING_TILE_LIB_H +#include + const int BOARD_DIM = 4; const int BOARD_SIZE = BOARD_DIM * BOARD_DIM; + +typedef signed char Board[BOARD_SIZE]; +std::istream& operator>>(std::istream& is, Board& board); + extern signed char adjacent[BOARD_SIZE][5]; #endif /* _SLIDING_TILE_LIB_H */