From 286763000e4e5919c07f2840c64ecc7932530175 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Mon, 25 Jun 2018 20:26:05 +0200 Subject: Updated test cases and made engine work correctly according to tests I don't think a tesla appeared in this match. I need to contrive a bot to build one. --- src/engine/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/command.rs') diff --git a/src/engine/command.rs b/src/engine/command.rs index 7a2594d..bcfc352 100644 --- a/src/engine/command.rs +++ b/src/engine/command.rs @@ -13,7 +13,7 @@ impl fmt::Display for Command { match *self { Command::Nothing => write!(f, ""), Command::Build(p, b) => write!(f, "{},{},{}", p.x, p.y, b as u8), - Command::Deconstruct(p) => write!(f, "3,{},{}", p.x, p.y), + Command::Deconstruct(p) => write!(f, "{},{},3", p.x, p.y), } } } -- cgit v1.2.3