dreversi.env

Members

Functions

count
auto count(in Board b)

counts the number of empty/black/white positions

pass
auto pass(in Board b, bool isBlack)

returns true if no next move for the color

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

returns next step by the action

reset
auto reset(size_t rows = 8, size_t cols = 8)

returns initial board

Manifest constants

pointString
enum pointString;

text representaion of Point

Structs

Board
struct Board

board data of reversi

Meta