Browse Source

ReadString push

adaptedStrategy0
Andrea Bellandi 9 years ago
parent
commit
8473f03e20
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/ReadString.hs

+ 2
- 1
src/ReadString.hs View File

@ -25,7 +25,8 @@ main = do args <- getArgs
seedn <- return $ optSeedNumber opt seedn <- return $ optSeedNumber opt
(id, seedgame) <- return $ readInput file (id, seedgame) <- return $ readInput file
(seed,game) <- return $ unzip seedgame (seed,game) <- return $ unzip seedgame
outputs <- return $ passes $ propagateCommand (game !! seedn) phrase
commintermediate <- return $ propagateCommand (game !! seedn) phrase
outputs <- return $ passes commintermediate
BS.putStrLn $ encode outputs BS.putStrLn $ encode outputs
propagateCommand :: DT.Game -> String -> [(DT.Game, VM.Notes)] propagateCommand :: DT.Game -> String -> [(DT.Game, VM.Notes)]


Loading…
Cancel
Save