module Main where import Signal import Random import Graphics.Element exposing (Element) import Html exposing (Html) import Model.Game exposing (Game, initialGame) import Model.Vec2 exposing (originVec) import Model.Config exposing (Config(White)) import Update.Update exposing (update) import Input exposing (getInput) import View.Page exposing (pageView) main : Signal Html main = Signal.map pageView game game : Signal Game game = Signal.foldp update (initialGame (Random.initialSeed initialTime)) getInput port initialTime : Int