diff options
author | Joris Guyonvarch | 2014-09-02 21:35:58 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2014-09-02 21:35:58 +0200 |
commit | c4ae3b0ee4bd338995cfecf34e0aeb49f05fa70e (patch) | |
tree | 71530e9e2cfcbe888cb086593ea1e4d0bcc269a6 /src/Main.elm |
Initial commit
Diffstat (limited to 'src/Main.elm')
-rw-r--r-- | src/Main.elm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Main.elm b/src/Main.elm new file mode 100644 index 0000000..267bb8c --- /dev/null +++ b/src/Main.elm @@ -0,0 +1,10 @@ +module Main where + +import Game (initialGame) +import Display (display) +import Step (step) +import Input (getInput) +import Vec2 (originVec) + +main : Signal Element +main = lift display (foldp step (initialGame originVec 0) getInput) |