FB18 - Das Forum für Informatik

fb18.de / Off-Topic / Allgemeines

Hugi Size Coding Competition 27 - The Resurrection!

Hugi Size Coding Competition 27 - The Resurrection! 2008-09-30 17:32
Fred
Hugi Size Coding Competition 27 - The Resurrection!
This time your task is critical. You must resurrect the Hugi Compo. It's been buried by neglect, and its spirit is floating away. You can save it by creating the world's smallest program that displays the accompanying ANSI file, image.ans.

Nope, you don't get to use the ANSI.SYS driver and merely "type" it. That would be too easy. You must make a standalone program that displays the image. In other words the image must be contained within your program; it cannot be read in from an external file.
Da kämpft man sich mit Mühe und Not unter die 1000-Byte-Grenze, und dann sind bereits drei Leute unter 800 [3]

Na Tri, ist das ne Herausforderung oder nicht? [25]

RE: Hugi Size Coding Competition 27 - The Resurrection! 2008-10-01 10:21
low_level
Hatten wir vielleicht die gleiche Idee? Mein Code ist ähnlich groß.

Ich hab Vorder- und Hintergrund getrennt, etwas vereinfacht und dann RLE-komprimiert. Das, was dann noch vom gewünschten Ergebnis abwich, habe ich manuell korrigiert.

Roland

RE: Hugi Size Coding Competition 27 - The Resurrection! 2008-10-01 11:39
Fred
Hatten wir vielleicht die gleiche Idee? Mein Code ist ähnlich groß.
Jo, Komprimierung und manuelle Anpassung habe ich auch gemacht. Wie krieg ich jetzt die drei zusätzlichen Bytes aus meinem Code raus… [7]

RE: Hugi Size Coding Competition 27 - The Resurrection! 2008-11-01 20:48
Fred
Die Compo ist vorbei, jetzt kann man sich die 23 Einsendungen anschauen [23]