dreversi.env

Undocumented in source.

Members

Enums

Point
enum Point
Undocumented in source.

Functions

count
auto count(Board b)

counts the number of empty/black/white positions

finished
auto finished(Board board)
Undocumented in source. Be warned that the author may not have intended to support it.
pass
auto pass(Board b, bool isBlack)

returns true if no next move for the color

put
auto put(Board b, bool isBlack, size_t row, size_t col)

returns next step by the action

reset
auto reset(size_t rows, size_t cols)

returns initial board

score
auto score(Board board, bool isBlack)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

pointString
enum pointString;

text representaion of Point

Structs

Board
struct Board

board data of reversi

Meta