Zach Morgan
and 1 contributors

NAME

Games::Go::Cinderblock::MoveResult

DESCRIPTION

This results from evaluate_move.

It has a "delta", which describes changes to the board

ATTRIBUTES

rulemap

succeeded

0 if move failed, 1 if move succeeded.

reason

If failed, this is why. e.g. 'suicide', 'collision'

basis_state

resulting_state

delta

"resulting_state" minus "basis_state", essentially.

A delta is an object that describes changes between 2 states with the same rulemap.