1
I'm creating a simple challenge here as a first test of the community's reactions. Please let me know if this challenge is the kind of thing you guys like or what I can improve... :)
The task is this: Render a chess board in Lua in smallest code possible.
Here is an example solution: http://tinybrain.de/145
As you can see, there is definitely room for getting smaller than 657 bytes (# of bytes are printed on the page). All the information you need for coding should be on the page or, hopefully, on tinybrain.de. Mailed questions totally welcome too. Lua API overview: http://tinybrain.de:8080/tb/debug.php?cmd=144
I am not demanding your chess board to have the exact same colors or even the same size. It should look like a chess board, that's all.
You need to register on TinyBrain.de to submit and test code. (Sorry, hope that is OK... It's free and I'm not a data peddler, so no harm there... :)
Edit: For testing your code locally (without any registration or Internet connection), you can download the TinyBrain runtime (magic.jar). Here is the link: http://tinybrain.de:8080/magic.jar
Could you bring in the examples from tinybrain.de and make the source code for magic.jar available (I am a bit hesitant to run unkown binaries on my machine that I've downloaded from the internet). – None – 2016-02-16T19:54:59.080
Does it have to be rendered as an image? Your question doesn't specify that. – Cel Skeggs – 2014-01-12T21:38:39.957
Yes, that was the original idea... What's the alternative? Render it as ASCII? Well, why not. We can collect those solutions too. :) In that case, just use print() statement(s)! – Stefan Reich – 2014-01-12T21:52:09.837