This month (May 2021) is our very first informal Tweetcode contest! What does that mean?
A tweetcode is a Mini Micro program so short that it fits in a single tweet, i.e., 280 characters. Usually they do make some interesting graphical display, but they could be anything — a tiny game, a math trick, a decision-maker, whatever! Just make it as interesting as you can, while cramming it into the 280-character limit.
To make it easier, you might want to import"tc"
, which loads the /sys/lib/tc.ms module into memory. That provides shortcuts for various common names and operations, like g
for gfx
, or img
to load an image. You can cram your program entirely into one line by using semicolons instead of line breaks. Yes, the resulting code will be dense, but that's part of its charm!
When you've written a neat little program that fits in a tweet, you'll actually post two tweets about it: the first one with a picture of what your program does, and a word or two about it, and the tags #miniscript #minimicro #tweetcode
; and then a reply to that one, with the actual code. That way people can find your code, and have some idea what it does.
As this is our first tweetcode event, we're keeping it informal — there are no prizes, apart from bragging rights, and we're all going to be cheering each other on! So give it a try. I can't wait to see what you create!