Type Alias Move

Source
pub type Move = u32;
Expand description

Move type represents a chess move

Trait Implementations§

Source§

impl MoveTrait for Move

Source§

fn ft(from_sq: Square, to_sq: Square) -> Move

returns a move from from square and to square

Source§

fn from_sq(self) -> Square

returns from square of move

Source§

fn to_sq(self) -> Square

returns to square of move

Source§

fn uci(self) -> String

return uci representation of move