Module gomoku_core::board [] [src]

Main module, contains basics Structures.

Structs

Board

The main structure: allow you to play on the Grid with Gomoku rules.

Enums

Condition

Indicates the victory condition under the one you win by placing a stone on the Board.

Error

Indicates the error of placement you get when you missplace a stone on the Board.

Info

Gives information on the last successful stone placement on the Board.

PlaceResult

The type returned by the board when placing a stone.

Constants

STONES_COUNT_TO_WIN

Number of stones to take to win.