Skip to content

Commit

Permalink
Add nice welcome message. Remove redundant return ()
Browse files Browse the repository at this point in the history
  • Loading branch information
norm2782 committed Aug 22, 2010
1 parent fa8c418 commit bae6e0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HaskBan.hs
Expand Up @@ -47,7 +47,6 @@ module HaskBan where

progLoop :: IO ()
progLoop = do key <- getCh
return ()
if shouldTerminate key
then do endWin
else do return (processKey key)
Expand All @@ -56,4 +55,7 @@ module HaskBan where
main :: IO ()
main = do window <- initScr
initCurses
mvWAddStr window 0 0 "Welcome to HaskBan, the world's most awesome Haskell-based Sokoban game."
move 1 0
refresh
progLoop

0 comments on commit bae6e0f

Please sign in to comment.