diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-05-12 00:58:14 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-05-12 00:58:14 +0200 |
commit | 3d1676842e20c90bb5599daa2caefdea2bbf9fe8 (patch) | |
tree | c5c45ef35064fad01ed690be8555273224765e67 /src/command.rs | |
parent | ebe7d5cd5cc42d8f3f02ca926f4b920ada03765f (diff) |
Outline of MCTS
Diffstat (limited to 'src/command.rs')
-rw-r--r-- | src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.rs b/src/command.rs index a510120..bca0f38 100644 --- a/src/command.rs +++ b/src/command.rs @@ -1,7 +1,7 @@ use std::fmt; use crate::geometry::Direction; -#[derive(Clone, Copy, Debug, PartialEq, Eq)] +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum Command { Move(i8, i8), Dig(i8, i8), |