wip points rules

This commit is contained in:
Henri Bourcereau 2024-05-20 19:04:46 +02:00
parent 7790c07dcc
commit aff489f134
7 changed files with 62 additions and 10 deletions

View file

@ -0,0 +1,16 @@
use crate::board::Board;
use crate::dice::Dice;
#[derive(std::cmp::PartialEq, Debug)]
pub enum PointsRule {
FilledQuarter,
}
pub trait PointsRules {
fn board(&self) -> &Board;
fn dice(&self) -> &Dice;
fn get_points(&self) -> Vec<(u8, PointsRule)> {
Vec::new()
}
}