server (from tic-tac example)
This commit is contained in:
parent
7c4d0a19a4
commit
e9d4f04044
8 changed files with 234 additions and 203 deletions
|
|
@ -3,8 +3,9 @@ use std::fmt;
|
|||
|
||||
|
||||
// This just makes it easier to dissern between a player id and any ol' u64
|
||||
type PlayerId = u64;
|
||||
pub type PlayerId = u64;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub enum Color {
|
||||
White,
|
||||
Black,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue