I am trying to use the gloss package in Haskell to make a game but find everything I read too simplistic or hard to read. I have seen
What would be a typical game skeleton in Haskell
which is a little useful but I am hoping for a little more information. Could someone provide any resources online with a slightly more complicated game with interacting elements. Code examples would be helpful too. I would like to have
main :: IO ()
main = do
...play...
somewhere also with event handling/rendering and keyboard commands.