ios/pentago/base/board.h
// Extract one side of a board
Extract one side of a board
Extract one side of a board
static inline side_t unpack(board_t board, int s) {
  return quadrants(unpack(quadrant(board,0),s),
                   unpack(quadrant(board,1),s),
                   unpack(quadrant(board,2),s),
                   unpack(quadrant(board,3),s));
}
static inline side_t unpack ( board_t board , int s ) { return quadrants ( unpack ( quadrant ( board , 0 ) , s ) , unpack ( quadrant ( board , 1 ) , s ) , unpack ( quadrant ( board , 2 ) , s ) , unpack ( quadrant ( board , 3 ) , s ) ) ; }
Extract one side of a board
Extract one side of a board