Obfuscated Code Contest 3 - Results Poll

Talk about anything here...

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

Postby Mattxl » Thu Dec 02, 2004 7:28 am

Darobat and... sorry guys but I gotta vote for myself.
Mattxl
 
Posts: 19
Joined: Thu Nov 18, 2004 7:41 pm

Postby schloobs » Thu Dec 02, 2004 9:51 am

mine go to exomo and gamma :D

(w00t i got 2 votes! in your faceeee!)
schloobs
 

Re: Obfuscated Code Contest 3 - Results Poll

Postby gamma » Thu Dec 02, 2004 2:19 pm

Darobat wrote:Once again, You will post the two entries that you wish to vote on.


My verdicts (I never said I was an expert though):

Beerhunter has a nice serverthingie, but nothing obfuscated except naming: 0 points

Darobat fooled around with operator overloading and short naming and hiding true strings. Original to me, but not good enough: 0 points

Gamma has sent in a solution I like very much... but I don't want to vote for myself: 0 points.

Mattxl is readable AND understable after using a program like indent. Too easy, too many zeroes [erm, or as he calls it: (((54 * 28 ) - 3) * 0)] and too many code repeats (checking for winning lines): 0 points.

Schloob probably loves the BrainFuck "coding style". Not that readable after gcc -E and indent, but it is understandable: 1 point for best effort.

Exomo must eat pointers for breakfast. I like the idea of obfuscating by using void*: 1 point.
while (true){sleep(28800);work(57600);}
"Free" as in speech is so much better than "free" as in beer.
User avatar
gamma
 
Posts: 178
Joined: Mon Dec 01, 2003 9:16 am
Location: The Netherlands

Postby coolian » Thu Dec 02, 2004 2:24 pm

Very true - good analysis!!
User avatar
coolian
 
Posts: 1012
Joined: Wed Oct 29, 2003 6:17 pm
Location: USA

Postby Darobat » Thu Dec 02, 2004 5:21 pm

Schloob's is pretty easy to understand with the use of Ctrl+H (replace). Anyway, polls updated. I need to get an idea for the next contest but It should be up tonight or tommorow.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Guest » Thu Dec 02, 2004 6:06 pm

Darobat wrote:I need to get an idea for the next contest but It should be up tonight or tommorow.

Mastermind? Write a program that let's a player play, or, perhaps, write a bot that figures it out by itself.

I sense a Christmas theme coming up... Perhaps writing a Xmas-tree in 7bit-ascii? Or anything else related to Xmas or 31dec/01jan?

Can't think of anything else at 1am :(
Guest
 

Postby gamma » Thu Dec 02, 2004 6:08 pm

Anonymous wrote:blabla

Sorry. Forgot to log in.
while (true){sleep(28800);work(57600);}
"Free" as in speech is so much better than "free" as in beer.
User avatar
gamma
 
Posts: 178
Joined: Mon Dec 01, 2003 9:16 am
Location: The Netherlands

Postby schloob » Thu Dec 02, 2004 7:30 pm

http://et.ath.cx/ttt_without_defines.txt

i think that looks better than the one with defines now that i look at it :-\

shouldve submitted that one
:]
User avatar
schloob
 
Posts: 1853
Joined: Mon Feb 16, 2004 10:29 am
Location: Seattle

Postby Invictus » Thu Dec 02, 2004 7:32 pm

I am changing my second vote from gamma to schloob please.
User avatar
Invictus
 
Posts: 3054
Joined: Tue Oct 21, 2003 12:59 pm

Postby Darobat » Thu Dec 02, 2004 7:35 pm

Thats quite a bit more confusing schloob. lol. I like it. Your vote's been changed CF.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Mattxl » Thu Dec 02, 2004 9:45 pm

Hehehe! Gama thanks for the constructive criticism. I was going to make it worse but I got busy at work and didn't have time. What, you didn't like all the "zeros"? :D I put the "zeros" there temporarily and I thought it looked funny, especially when it checks for every possible winning situation the long way. I only voted for myself cause I figured no one else would.
Mattxl
 
Posts: 19
Joined: Thu Nov 18, 2004 7:41 pm

Postby gamma » Fri Dec 03, 2004 5:32 am

Cold Flame wrote:I am changing my second vote from gamma to schloob please.
I hate it when that happens, but that's life I guess. You didn't change your opinion because of my (small) analysis I hope?
while (true){sleep(28800);work(57600);}
"Free" as in speech is so much better than "free" as in beer.
User avatar
gamma
 
Posts: 178
Joined: Mon Dec 01, 2003 9:16 am
Location: The Netherlands

Postby gamma » Mon Dec 06, 2004 2:54 am

When does the voting stop? Any deadline in mind Darobat?
while (true){sleep(28800);work(57600);}
"Free" as in speech is so much better than "free" as in beer.
User avatar
gamma
 
Posts: 178
Joined: Mon Dec 01, 2003 9:16 am
Location: The Netherlands

Postby Invictus » Mon Dec 06, 2004 3:11 am

gamma wrote:
Cold Flame wrote:I am changing my second vote from gamma to schloob please.
I hate it when that happens, but that's life I guess. You didn't change your opinion because of my (small) analysis I hope?

No, schloob showed me his code BEFORE he ruined it with the underscore defines. It is really good. The underscores just make it look like he wrote the game and then used find and replace to make it look ubfuscate but it's acctually really good without them.
User avatar
Invictus
 
Posts: 3054
Joined: Tue Oct 21, 2003 12:59 pm

Postby gamma » Mon Dec 06, 2004 3:15 am

Cold Flame wrote:
gamma wrote:
Cold Flame wrote:I am changing my second vote from gamma to schloob please.
I hate it when that happens, but that's life I guess. You didn't change your opinion because of my (small) analysis I hope?

No, schloob showed me his code BEFORE he ruined it with the underscore defines. It is really good. The underscores just make it look like he wrote the game and then used find and replace to make it look ubfuscate but it's acctually really good without them.

I agree that it is more impressive without the underscores. About the change of vote: tough luck for me :cry:.
while (true){sleep(28800);work(57600);}
"Free" as in speech is so much better than "free" as in beer.
User avatar
gamma
 
Posts: 178
Joined: Mon Dec 01, 2003 9:16 am
Location: The Netherlands

PreviousNext

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 0 guests