--- a/gameServer/EngineInteraction.hs Wed Oct 17 23:33:33 2012 +0400
+++ b/gameServer/EngineInteraction.hs Wed Oct 17 23:50:28 2012 +0400
@@ -1,7 +1,6 @@
module EngineInteraction where
import qualified Data.Set as Set
-import qualified Data.List as List
import Control.Monad
import qualified Codec.Binary.Base64 as Base64
import qualified Data.ByteString.Char8 as B
@@ -31,6 +30,7 @@
legalMessages = Set.fromList $ "M#+LlRrUuDdZzAaSjJ,sNpPwtghbc12345" ++ slotMessages
slotMessages = "\128\129\130\131\132\133\134\135\136\137\138"
+
gameInfo2Replay :: GameInfo -> B.ByteString
gameInfo2Replay GameInfo{roundMsgs = rm,
teamsAtStart = teams,