feat(web client): free play mode
This commit is contained in:
parent
f459021f22
commit
486649a599
10 changed files with 357 additions and 63 deletions
|
|
@ -8,7 +8,7 @@ use rand::seq::IndexedRandom;
|
|||
use std::cmp;
|
||||
use std::collections::HashSet;
|
||||
|
||||
#[derive(std::cmp::PartialEq, Debug)]
|
||||
#[derive(std::cmp::PartialEq, Debug, Clone, Copy)]
|
||||
pub enum MoveError {
|
||||
// Opponent corner is forbidden
|
||||
OpponentCorner,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue