snix/src/Main.hs
Griffin Smith 4ef19aa35a Add entities, and allow walking around
Add support for entities via a port of the EntityMap type, and implement
command support starting at basic hjkl.
2019-08-31 13:18:51 -04:00

17 lines
293 B
Haskell

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
let initialState = getInitialState
_ <- defaultMain app initialState
pure ()