1
0
Fork 0

add details about the maximum number of moves

This commit is contained in:
Paul-Nicolas Madelaine 2025-11-17 22:07:05 +01:00
parent 7d7884326c
commit 36535f292a
3 changed files with 21 additions and 7 deletions

View file

@ -59,8 +59,6 @@ use core::ops::ControlFlow;
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct Position(Setup);
pub(crate) const MAX_LEGAL_MOVES: usize = 218;
const PAWN: u8 = Role::Pawn as u8;
const KNIGHT: u8 = Role::Knight as u8;
const BISHOP: u8 = Role::Bishop as u8;