2019-08-25 19:28:10 +02:00
|
|
|
module Main where
|
|
|
|
|
|
|
|
import Xanthous.Prelude
|
|
|
|
import Brick
|
|
|
|
|
|
|
|
import Xanthous.Game (getInitialState)
|
|
|
|
import Xanthous.App (makeApp)
|
|
|
|
|
|
|
|
ui :: Widget ()
|
|
|
|
ui = str "Hello, world!"
|
|
|
|
|
|
|
|
main :: IO ()
|
|
|
|
main = do
|
|
|
|
app <- makeApp
|
2019-09-01 22:21:45 +02:00
|
|
|
initialState <- getInitialState
|
2019-08-25 19:28:10 +02:00
|
|
|
_ <- defaultMain app initialState
|
|
|
|
pure ()
|