Commit 3c517c8b by Stuart Kurtz

Day 21, with major part a cleanups and improved comments.

parent 958e7551
Showing with 1 additions and 1 deletions
......@@ -14,7 +14,7 @@ splits = M.assocs $ roll 3 (M.singleton 0 1) where
roll 0 m = m
roll n m = roll (n-1) . M.unionsWith (+) . map ((`M.mapKeys` m) . (+)) $ [1,2,3]
-- universes (xScore,xPos,yScore,yPos) = (losers,winners)
-- universes ! (xScore,xPos,yScore,yPos) = (losers,winners)
-- where player X will make the next move.
universes :: Array (Int,Int,Int,Int) (Integer,Integer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment