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