From: Mart Lubbers Date: Mon, 7 Mar 2016 13:35:37 +0000 (+0100) Subject: added agent X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=1df8158b127c3888d1ab10db0e6c05da2c795e1c;p=mc1516pa.git added agent --- diff --git a/code/Sokoban.dcl b/code/Sokoban.dcl index 30e9465..32b5e11 100644 --- a/code/Sokoban.dcl +++ b/code/Sokoban.dcl @@ -4,6 +4,6 @@ definition module Sokoban width :: Int, height :: Int, data :: [[SokobanTile]]} -:: SokobanTile = Wall | Free | Box | Target +:: SokobanTile = Wall | Free | Box | Target | Agent parse :: String *World -> (SokobanPuzzle, *World)