Obfuscating code is making the code very hard to understand for humans.

learn more… | top users | synonyms

57
votes
40answers
7k views

Cops and Robbers: Regex Golf

Note: This challenge is now closed. Any future cops' submission will not be considered for the accepted answer. This is to ensure that no one can post a very simple regex in the future that only ...
59
votes
13answers
5k views

Sort a list and write some English!

Your boss managed to read the secret hidden message. He didn't end up firing you, though, he just made you a secretary and forbade you from writing code. But you're a programmer. You need to write ...
14
votes
7answers
966 views

Two-Many Outputs

The Challenge I present to you another spy vs. spy challenge pitting obfuscators versus crackers. In this case, however, the datum to be protected is not an input but an output. The rules of the ...
29
votes
31answers
3k views

Lockers vs. Crackers: The Five-Element Sequence

The Challenge A simple "spy versus spy" challenge. Write a program with the following specifications: The program may be written in any language but must not exceed 512 characters (as represented ...
1
vote
3answers
487 views

Hide your hash function

So you are tasked with creating an open source password authentication system but you want to reveal as little about the implementation of the hash function as possible. Can you write a function that ...
0
votes
6answers
413 views

What time is it? (Obfuscation) [closed]

Your goal is to write an obfuscated program that displays the current time. Guidelines: The program can print local or global time. You are allowed to draw ASCII numbers, display an analog clock, ...
23
votes
28answers
5k views

Obfuscation Challenge

You are to write a program that does one of the following. Only displays "Hello World" does nothing else Quits and nothing else (no output, no errors.) Takes one line of input, parses it as an ...
41
votes
34answers
13k views

Weirdest obfuscated “Hello World!”

Task: Create an obfuscated program that prints Hello World! (exactly like that). Your program may not have any strings in it. Rules: You can use any programming language you like. Make it as ...
2
votes
1answer
283 views

Hidden easter egg [closed]

Here's a fun idea: Write a simple game (tic-tac-toe, guess the number, etc) that has an easter egg in it, that can be triggered by a specific, special input from the user and does something cool, but ...
3
votes
1answer
330 views

Manipulate destiny, fake random numbers: Be Dirty Harry

bool doYouFeelLuckyPunk, actuallyIsLucky; doYouFeelLuckyPunk = Harry.catchyPhrase(); actuallyIsLucky = Bandit.rollDice(); if(doYouFeelLuckyPunk) { Bandit.grabGun(); if(!actuallyIsLucky) ...
0
votes
1answer
270 views

Four score and twenty. (Complete Obfuscation) [closed]

This challenge is to write a program that prints a great famous speech. Goals: Obfuscated text (you should not be able to tell what speech it prints without running it) Obfuscated code (it is more ...
-1
votes
10answers
646 views

Goodbye World! (Complete Obfuscation)

A little spin on an old favorite! Have your program output in the smallest number of characters the words "Goodbye World!". Rules: No Brainfuck solutions. Every alphanumeric characters score a ...
-3
votes
2answers
267 views

Decode obfuscated Hello world [closed]

In the following string (number), there is an hidden message, the goal of this is to find how this message is encoded write the shortest code that permit to retrieve the original message. The only ...
12
votes
3answers
1k views

I'll time your function, but I don't work weekends

My boss needs to know how long it takes to add together two integers. But, I don't like to work weekends, and I think its fair that my code doesn't either. The problem is, the boss is a demanding guy ...
74
votes
55answers
10k views

-ENDED- Do something that looks like something else

Write a snippet, a function, a programm, ... that is obfuscated in a way that it looks clear at the first sight that it does something else. For example: write a bit of code that adds two number, but ...
4
votes
9answers
743 views

Eight Queens Obsfucation

You've probably heard of the classic Eight Queens Puzzle. For those of you who haven't it goes something like this: Position 8 queens on an 8×8 chessboard so that no two queens threaten each ...
4
votes
1answer
2k views

Interpret Malbolge [closed]

Your task is to write an interpreter for the malbolge programming language. To keep with the spirit of the language, this is not necessarily code golf. The winner will be the one who provides the most ...
-1
votes
1answer
475 views

Try to understand this java code [closed]

The students in my high school computer science class were asked to write the game of nim for a simple project. Most of them found it very easy and finished quickly. However, one student came up with ...
11
votes
18answers
829 views

JAxH obfuscated method, not text

A JAPH is a grand tradition of making a program that prints "Just another Perl hacker,". We already have a question about JAPH on this site but they seem more concerned with hiding the text, but JAPH ...
4
votes
0answers
790 views

Artistic source code: Hello World [closed]

Back to basics! Create a "Hello World" program which prints, well, "Hello World". The winner this time though, is the one who gets the most interesting source code done. For instance, use obscure ...
71
votes
76answers
17k views

Obfuscated Hello World

Create the shortest possible obfuscated program that displays the text "Hello World". In order to be considered an obfuscated program, it must meet at least two of the following requirements: ...
29
votes
33answers
6k views

Obfuscated FizzBuzz Golf

Create the shortest possible obfuscated FizzBuzz implementation. To be considered obfuscated, it should satisfy at least one of the following: Does not contain any of the words "Fizz", "Buzz", or ...
14
votes
5answers
2k views

Just Another Perl Hacker

Classic code golf challenge. Write the most obscure Perl program to print "Just another Perl hacker". Here's the Wikipedia article on it. Bonus points if it fits in 3 lines / 70 characters each.