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:
parent
fb0d1b3e66
commit
d3f3890dc5
17 changed files with 1075 additions and 3 deletions
17
src/Main.hs
Normal file
17
src/Main.hs
Normal 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 ()
|
||||
Loading…
Add table
Add a link
Reference in a new issue