print $ part1 numberOfPlayers numberOfMarbles
print $ part1 numberOfPlayers (numberOfMarbles * 100)
-
- -- putStrLn $ part1 schedule
- -- print $ part2 schedule
-
part1 players marbles = highScore $ playGame players marbles
playGame :: Integer -> Integer -> Game
infixP = symb "players; last marble is worth"
suffixP = symb "points"
-
--- linkP = pairify <$> prefixP <*> upperChar <* infixP <*> upperChar <* suffixP
--- where pairify _ a b = (a, b)
gameFileP = (,) <$> integer <* infixP <*> integer <* suffixP
successfulParse :: Text -> (Integer, Integer)