go_game_types 1.0.0

Core type definitions for Go game libraries
Documentation
1
2
3
4
5
6
7
8
9
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub enum Player {
    Black = 0,
    White = 1,
}

impl Player {
    pub const COUNT: usize = 2;
}