Skip to content

Commit

Permalink
chore: add a few comments to position
Browse files Browse the repository at this point in the history
  • Loading branch information
raklaptudirm committed Dec 27, 2024
1 parent 5d03313 commit 507971a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions games/src/interface/position.rs
Original file line number Diff line number Diff line change
@@ -49,8 +49,11 @@ where
#[must_use]
fn colored_piece_bb(&self, piece: Self::ColoredPiece) -> Self::BitBoard;

/// Returns the current side to move.
fn side_to_move(&self) -> Color<Self>;
/// Returns the value of half-move draw clock.
fn half_move_clock(&self) -> usize;
/// Returns the number of plys played till now.
fn ply_count(&self) -> usize;
/// Returns a semi-unique checksum of the current Position.
#[must_use]

0 comments on commit 507971a

Please sign in to comment.