Tiling Game v0.1.0 TilingGame.Board View Source

supposed to represent the board - duh NOTE: the top left corner, (1, 1) is array position 1.

bottom right (width, height) is at array position width*height

Link to this section Summary

Link to this section Functions

Link to this function

apply_starting_positions(board, style)

View Source
Link to this function

board_offsets(board, pentomino, x, y)

View Source
Link to this function

each_cell(board, after_row_fn, each_cell_fn)

View Source
Link to this function

new(width, height, style \\ :blokus)

View Source
Link to this function

place_piece(board, pentomino, x, y, color)

View Source
Link to this function

starting_position_offsets(board, style)

View Source