This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
icfp2015
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
strategy1 fixes
adaptedStrategy0
Slash
10 years ago
parent
1a2ceda1e4
commit
ee6b45fffc
3 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/Main1.hs
+1
-0
src/PowerPhrases.hs
+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
)
Write
Preview
Loading…
Cancel
Save