Module open_ttt_lib::board[][src]

Expand description

Represents a game board providing multiple ways to access individual squares.

Usually you do not need to create a board directly as the game creates the board that it needs. However, the board is available so its representation can be displayed in your application.

Structs

Board

Represents the Tic Tac Toe board providing multiple ways to access individual squares.

Iter

An iterator over the squares in a Board.

Position

Represents a specific board position denoted by row and column.

Size

Represents the size of the board in number of rows and columns.

Enums

Owner

Indicates which player owns a position, if any.