From e6e608e5dc159e26197237ba5e98e7a6011069e3 Mon Sep 17 00:00:00 2001 From: MarkWRuszczycky Date: Sat, 24 Nov 2018 12:13:07 -0600 Subject: [PATCH] Adds bin to .gitignore and fixes up help string An error in the usage syntax was fixed and information about terminal fonts was included. --- .gitignore | 1 + src/Resources.hs | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index da1c10e..543e274 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ dev/maze-testing/ dev/high_scores.txt demos/editing/ +bin/ diff --git a/src/Resources.hs b/src/Resources.hs index 0dab45d..dbf00da 100644 --- a/src/Resources.hs +++ b/src/Resources.hs @@ -251,7 +251,7 @@ rawMaze _ = rawMaze 1 helpStr :: String helpStr = intercalate "\n" hs where spacer = "----------------------------------------------------------" - hs = [ "Usage: pmgame [OPTION]...\n" + hs = [ "Usage: pmgame [OPTION..]\n" , "Play a Pac-Man-like game in your terminal!" , "pmgame is written entirely in Haskell using Brick.\n" , O.usageInfo (spacer ++ "\n-- Available options\n") . init @@ -266,6 +266,17 @@ helpStr = intercalate "\n" hs , "The game requires at least 16 colors. So if you choose a" , "TERM parameter that does not support 16 colors, the game" , "should still run, but some colors may not show up correctly." + , "\nThe display may also look a little wonky depending on the" + , "terminal font. Some fonts that look reasonably good are:\n" + , " DejaVu Sans Mono (used to develop the game)" + , " Andale Mono" + , " Courier" + , " FreeMono" + , " Liberation Mono" + , " Monospace\n" + , "Right now, the terminal font needs to be changed before" + , "starting the game, (e.g., by right-clicking in the terminal" + , "and editing the profile preferences)." , "\n" ++ spacer , "-- Creating your own mazes\n" , "You can create your own maze to play as the first level by"