AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   News (https://forums.alliedmods.net/forumdisplay.php?f=16)
-   -   Obfuscated Coding Contest (https://forums.alliedmods.net/showthread.php?t=25808)

BAILOPAN 03-20-2006 17:19

Obfuscated Coding Contest
 
While we're finishing up beta testing on 1.71 and getting ready to launch the official server, on IRC we came up with the idea to have an Obfuscated Coding Contest, similar to this one.

What's an obfuscated coding contest? The idea is to write the nastiest plugin you possibly can. The code has to be as unreadable, unfriendly, and as original and creative as possible. After all the work we put into making sure people become better programmers, here's your chance to write terrible code!

The contest will run for two weeks, meaning we'll choose winners after April 3rd, so have your submission in by April 2nd. We're disqualifying ourselves (the developers) so it's a fair contest. The official rules:
  • Your plugin must do something -- it doesn't have to be necessarily useful, but it can't just be empty code.
  • You can abuse the preprocessor in any way, but you cannot use custom/3rd party includes, and likewise you cannot use 3rd party/custom modules.
  • Your plugin must compile and run on AMX Mod X 1.70+ with less than 10 warnings, and no errors. It should be under 8KB of source text.
  • Your plugin can run on any mod, and it can use natives from any official module.
  • You can submit any number of entries, but each one must be original work.
  • Your plugin cannot be malicious (exploit clients, exploit servers, etc - at our discretion).
  • Submit your entries to [email protected] as a zip file containing the plugin source code (as a .sma) and a text file containing your name, description, comments, and any other remarks you would like to add. In short, we need the source code, how to run it, and what it will do.
  • We'll be looking for creativity in obfuscation as well as what your plugin actually does within its limitations and design.
  • Addendum - You can rely on up to five configuration files (binary or text) that you supply in your zip file. None of them can exceed the size of your plugin.
Good luck! In two weeks we'll go through the submissions, pick three winners, and give out rewards of sorts.

Need an example of "obfuscated code"? Here's a quick, terrible way to register a plugin:
Code:
#define G(%1,%2,%3,%4,%5) %3%1%4%5%2 #define dotcom () @plugin_init dotcom {      G(egis,cmd,r,ter,_cl)("terrible", "1.0", "bail") }

Thanks to crazy twistedeuphoria for coming up with this crazy idea.

v3x 03-20-2006 17:31

^_^

bOoya 03-20-2006 17:32

and the winner gets a job at VALVe !

GHW_Chronic 03-20-2006 17:33

O_o

Wow. Seriously though, I'm not even going to try to write badly. I don't think I could even beat v3x when he's trying to write good :lol:.

Freecode 03-20-2006 17:33

OMG, how insaNICE

v3x 03-20-2006 17:35

Quote:

Originally Posted by GHW_Chronic
O_o

Wow. Seriously though, I'm not even going to try to write badly. I don't think I could even beat v3x when he's trying to write good :lol:.

Shut it, nub :P

cheechbmc 03-20-2006 17:37

i am gonna rite some nasty stuff. :lol:

Hawk552 03-20-2006 17:48

The solution of course is to get OLO here.

GHW_Chronic 03-20-2006 17:55

Quote:

Originally Posted by Hawk552
The solution of course is to get OLO here.

R O F L O L. Yup, GJ.

diamond-optic 03-20-2006 18:06

im not even gonna bother lol..

theres already plenty of ppl around here who are naturals at writing obfuscated code...

heh cant wait to see what people come up with tho :P


All times are GMT -4. The time now is 21:54.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.