aboutsummaryrefslogtreecommitdiff
path: root/src/Main.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-07 18:46:47 +0100
committerJoris Guyonvarch2015-03-07 18:46:47 +0100
commit6c1f5e10631a3f66f4c85a45b6f28ffd366105c5 (patch)
tree624d833aa62ad8ce5ed172144ff69a2846d55154 /src/Main.elm
parentae14beca0452b59ead64b8cdd6544824d59a55dc (diff)
Show best score in html layout
Diffstat (limited to 'src/Main.elm')
-rw-r--r--src/Main.elm5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Main.elm b/src/Main.elm
index 7c257b7..207a393 100644
--- a/src/Main.elm
+++ b/src/Main.elm
@@ -22,10 +22,7 @@ game : Signal Game
game =
Signal.foldp
update
- (initialGame initialSeed originVec White 0)
+ (initialGame (Random.initialSeed initialTime))
getInput
port initialTime : Int
-
-initialSeed : Random.Seed
-initialSeed = Random.initialSeed initialTime