A clanker got on my case for my solution to today’s exercise. My solution was correct but I could have done it with more compact syntax. The exercise was really easy so I actually did two more.

Well I finished up the minesweeper game. I added a local mode service that saves/loads from local storage. More bugs/problems than you would think for so few functions.

I then decided to upload it to itch.io, and it promptly failed. Turns out the build command added some hard coded paths that broke everything. I had to actually edit the index.html file and remove the leading /’s to make it work. I also cleaned up a bit.

You can now play the game at:

https://seggiepants.itch.io/minesweeper

You can also look at the code at:

https://github.com/seggiepants/minesweeper-web