Experion::Position
Inherits Experion::Moves < Struct < Value < Object
Constructors
Instance methods
Is sq attacked by any piece of color by given occupancy occ?
Bitboard of all pieces of color by attacking sq given occupancy occ.
Find a legal move matching a UCI string (e.g. "e2e4", "e7e8q").
Generates an UInt64 hash value for this object.
This method must have the property that a == b implies a.hash == b.hash.
The hash value is used along with == by the Hash class to determine if two objects
reference the same hash key.
Subclasses must not override this method. Instead, they must define hash(hasher),
though usually the macro def_hash can be used to generate this method.
Zobrist key of self after m, without copying the position. Used to
probe the child's TT slot for move ordering.
Debug helper: sorted list of UCI strings for the current position's legal moves.
Mutates self. Callers must copy first: child = parent; child.make_move(m).