An @-sign in a box, in haskell

Initial commit of a Haskell version of Xanthous, written using Brick and
built with Nix.

This is so much nicer and so much easier
This commit is contained in:
Griffin Smith 2019-08-25 13:28:10 -04:00
parent fb0d1b3e66
commit d3f3890dc5
17 changed files with 1075 additions and 3 deletions

17
src/Main.hs Normal file
View file

@ -0,0 +1,17 @@
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
initialState <- getInitialState
_ <- defaultMain app initialState
pure ()