Self destruct mesage

Here’s my useless entry for the not-a-game game jam:

Self destruct message

This program will erase itself after viewing the secret message for 5 seconds.
A timer will appear in the top right counting down. When the times up the screen goes black and the program is erased. Please wait for 3 seconds before powering off.

When turning power back on, Arduboy will enter and remain in bootloader mode.

Basically this is just a proof of concept that a program can invoke the bootloaders erase function to erase it self

DISCLAIMER:
Turning power off too soon will cause unexpected behaviour just like when power is turned off while uploading a sketch. Use at your own risk.

selfdestructmessage.hex (25.7 KB)

source:

4 Likes

OOOOO spooky.