From c4ae3b0ee4bd338995cfecf34e0aeb49f05fa70e Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Tue, 2 Sep 2014 21:35:58 +0200 Subject: Initial commit --- src/Main.elm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/Main.elm (limited to 'src/Main.elm') 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) -- cgit v1.2.3