Tetris, again. Results.

For the reminder, here is the problem as stated originally.

Entries:

Here are the entries:

Additional non-ranked entry:
Score and comments about the entries:
They were some output-formatting problem in some entries (int 29h instead of int 21h, etc...) which I won't take into account.

Input:

We need to choose a 4-color starting sequence. Here are the 91 possibilities.
I used this C-program to search for a "difficult" starting grid (> 8million grids tested in 1 day) and to generate the 91 possible starting grids.

Let's pick a starting sequence at random: "baba" (looks cool:).
The starting grid is then:

char *Grid[16] = {
 "adbdcdbdddcbdbab",
 "bccbddbccaadcdaa",
 "dabdacdbbdacaccd",
 "cdababcacbdcadca",
 "baadabbabadbaddb",
 "addbdaadcdaddcba",
 "adcacdabcabcaadc",
 "acadcbddbbcdcccd",
 "bdbaadaaabdcaaba",
 "adadbccbdacddcdb",
 "dbaaddbcbdbbbcaa",
 "dccbdcbaacaaacad",
 "cbdacbcadcbdddcc",
 "dbaadbacdcaaacab",
 "dbcdcdbadbbbdaca",
 "dcddccdcccacdcdb",
};
Results:

Run with "baba" as input, the programs return the following texts:

Too bad Dolmen/Experience didn't complete its .com during the party, he would have won!!

Hence, the final ranking is:

According to these results, Chojin and Ze_Killer told me they decided to give their price for this compo to Knos, who's been stolen his laptop during the party. Not only is it the third time they win a LTP fast compo (with Houhoutigrou and the other Skytechgroup dudes), but one can see that their coding skill compares to their human qualities.

Conclusion:

The funny thing about this problem is that the best strategy was not the one you would have think of first: directly printing the grid. However, packing it a little (2bits/square at least) was worthwhile since it made the difference. You should have a look at the .asm source file included in some entries. It worthwhile to compare to your code if you've sweat on it ;)

Thanks evrybody for having played the game!

/Skal

And btw, while I'm here, here are some few features I find important while finding a funny (?) fast-code problem:

Souvenir: Here is last year's LTP3 problem. I tend to think it was better the year's one. Oh well... :)