/wundernut-vol5

Wunderpähkinä vol. 5

Primary LanguageAssembly

Wunderpahkina vol. 5

(Scroll down for English instructions.)

Piiloviesti

Alkavan lomakauden kunniaksi julkaisemme viidennen Wunderpähkinän! Tämänkertainen pähkinä on hieman aiempia pehmeämpi, jotta ehdit myös huilata vuoden vaihtuessa.

Tehtävä on selvittää salainen viesti alla olevasta kuvasta.

secret message

Viestin saa esille piirtämällä viivoja seuraavien sääntöjen mukaan.

  • Ala piirtää ylöspäin, kun pikselin väri on 7, 84, 19.
  • Ala piirtää vasemmalle, kun pikselin väri on 139, 57, 137.
  • Lopeta viivan piirtäminen, kun pikselin väri on 51, 69, 169.
  • Käänny oikealle (kulkusuuntaan nähden), kun pikselin väri on 182, 149, 72.
  • Käänny vasemmalle (kulkusuuntaan nähden), kun pikselin väri on 123, 131, 154.

Vastaukseksi hyväksytään salainen viesti tai visuaalinen representaatio siitä sekä ratkaisun löytävän algoritmin lähdekoodi.

Säännöt

  • Voit koodata ratkaisun millä tahansa ohjelmointikielellä.
  • Eleganttiuden lisäksi ratkaisun pitää toimia oikein.
  • Voittajaksi valitaan tuomariston valitsema elegantein ratkaisu.
  • Vastauksen lähettäjä sallii ratkaisuun käytetyn lähdekoodin julkaisun.

Lähetä vastauksesi viimeistään perjantaina 6.1.2017 osoitteeseen pahkina@wunderdog.fi. Raati kokoontuu perjantaina 13.1.2017 ja julkaisee voittajan sen jälkeen.

Voittaja palkitaan Anki Overdrive ‐autoradalla.

Secret Message

We are happy to announce the fifth Wundernut for your enjoyment. This time it will be easier to crack so you will have more time to enjoy the Holidays.

There is a secret message in this picture. Find out what it says.

secret message

The message can be deciphered by drawing lines following these rules:

  • Start drawing upwards when the pixel color is 7, 84, 19.
  • Start drawing left when the pixel color is 139, 57, 137.
  • Stop drawing when the pixel color is 51, 69, 169.
  • Turn right (relative to the current direction) when the pixel color is 182, 149, 72.
  • Turn left (relative to the current direction) when the pixel color is 123, 131, 154.

Send us the secret message or a visual representation of it and the algorithm you used.

Rules

  • You can use any programming language to solve the problem.
  • A solution must work properly and output the correct answer.
  • The winner will be the most elegant solution decided by Wundernut jury.
  • Participant gives Wunderdog the right to publish their source code used in the solution.

Send your solution to pahkina@wunderdog.fi by the end of 6.1.2017. Jury will select the winner on 13.1.2017 and result will be announced after that.

Winner will be rewarded with Anki Overdrive racing system.