Huge dangling commit
This commit is contained in:
parent
3597b2b7cf
commit
c24768c5c6
12 changed files with 118 additions and 40 deletions
|
@ -1,6 +1,7 @@
|
|||
module Main where
|
||||
|
||||
import DND.Sheet.Parser
|
||||
import DND.Sheet.Pretty
|
||||
import DND.Dice
|
||||
|
||||
testfile :: FilePath
|
||||
|
@ -8,7 +9,6 @@ testfile = "./example.json"
|
|||
|
||||
main :: IO ()
|
||||
main = do
|
||||
createExample testfile
|
||||
sheet <- parseSheet testfile
|
||||
putStrLn $ "wrote example character named \"" ++ getName sheet ++ "\" to: " ++ testfile
|
||||
mapM_ putStrLn . getSkillNames $ sheet
|
||||
putStrLn $ "Loaded character named " ++ getName sheet
|
||||
print =<< rollCheck 2 Advantage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue