Browse Source

strategy1 fixes

adaptedStrategy0
Slash 9 years ago
parent
commit
ee6b45fffc
3 changed files with 4 additions and 1 deletions
  1. +2
    -1
      src/Main1.hs
  2. +1
    -0
      src/PowerPhrases.hs
  3. +1
    -0
      src/Strategy1.hs

+ 2
- 1
src/Main1.hs View File

@ -12,7 +12,8 @@ import Datatypes
import Opt
import JSONDeser
import Strategy1
import VM (Command, cmdToString)
import VM (cmdToString)
import Datatypes.Game (Command(..))
data JSONSer = JSONSer { problemId :: Int,
seed :: Int,


+ 1
- 0
src/PowerPhrases.hs View File

@ -2,6 +2,7 @@ module PowerPhrases where
import Data.Maybe
import VM
import Datatypes.Game (Command(..))
charToCommand :: Char -> Maybe Command


+ 1
- 0
src/Strategy1.hs View File

@ -2,6 +2,7 @@ module Strategy1 where
import Datatypes
import VM
import Datatypes.Game (Command(..))
strat1 :: Game -> ([Command],Int)


Loading…
Cancel
Save