Chapter 4
Polishing the Word Game
Section 5
Some Final Polish
While we can now play our game, it still has a few rough edges. We'll now polish off a few of these. Frist, we want to create a random jumble of characters in the part of the grid that we're currently displaying with "underscore" characters. Next, we want to highlight each of the found words by uppercasing them. - Learn how a pure language such as Haskell does random number generation with the IO monad and RandomGen values - Create a random grid using randomRs and stitch it to the grid using our zipOverGridWith function - Highlight the words by checking whether each cell exists in a set of currently found cells