so I just wanted to point out to anyone else looking to get Mortals set up, that the code for working mortals resides in:
not in the
file, which is buggy / out of date (it doesn’t include the code for switching teams, e.g.)
and, while the Arduino IDE won’t open the .cpp file, you can just copy / paste the code in, and it works fine.
I’m happy to push code to update the examples directory, but wasn’t sure if that was what you guys wanted / intended – don’t like doing big copy / paste operations, seems like a single location makes more sense longterm.
Also, I tweaked the code a bit so that in ‘enguarde’ mode, the tile blinks red / the alive color.
This might encourage doing something like waiting until your tile is almost dead before placing it, so maybe not a great idea – it’s configurable with macro flag. I liked the idea of having it flash when in enguarde mode, could possibly have it flash other colors rather than the alive color.