Minimalist Minesweeper

Posted on Mar 04, 2019 in Code
james portrait
James Jacoby
Chief Technology Officer, Founder

I got my hands on an Adafruit Trellis as part of the December 2018 Adabox and set about building a simple game for it. One of my all-time favorites is Minesweeper, which seemed like a fun challenge. Since the device cannot display numbers, my version uses colors to indicate the risk of the revealed squares. Disclaimer: I'm a python noob, so forgive my code.

I've included some ideas for simple upgrades or tweaks if you feel so inclined. Or, simply paste the following code into yours and get sweep'n!

Let's Code : Online Multiplayer Web Game Code.pendency - Nokogiri