Second post in a tutorial series about WebAssembly functionality that was recently added to Crystal lang
Server-side WASM has emerged as an exciting technology and recent Crystal releases have brought support for compiling to WASM!
The other day, while making some changes in the Crystal formatter tool, I learned about heredoc and how to use multiple heredocs as methods' arguments.
Let's write some puzzle solvers. This time - Minesweeper Puzzle.
Minesweeper puzzle differs from the Minesweeper game in that a bunch of mine hints are provided from the start. In the game you start with the empty board, and get hints revealed as game goes.