Start by defining enums for pieces and the board.

This commit is contained in:
Dorian 2019-02-28 09:06:24 -05:00
parent c28458ff43
commit f20aa6989c
2 changed files with 15 additions and 0 deletions

View File

@ -13,3 +13,4 @@ The project's aim is to make a game capable of supporting:
- [Website](http://justcheckers.dorianpula.ca/) - [Website](http://justcheckers.dorianpula.ca/)
- [Project Source](https://bitbucket.org/dorianpula/justcheckers/) - [Project Source](https://bitbucket.org/dorianpula/justcheckers/)
- [Worlds Draughts Federation](https://fmjd.org/)

View File

@ -1,3 +1,17 @@
enum Token {
LightMan,
LightKing,
DarkKing,
DarkMan,
}
enum Space {
Empty,
Token,
}
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
#[test] #[test]