PDA

View Full Version : Taking Over The World - Textgame prog. in brainfuck


Pit
09-10-2006, 10:18 AM
Hello world,

Taking Over The World (http://www.49-6-dev.net/Takingovertheworlden.htm) (download size: 30 KB) is a little textgame programmed in brainfuck. The insane Dr. Retipuj tries to take over the world and you must stop him. He asks 12 questions and you must answer them by the correct number. For example: How old are you, how many drops of sweat do you have, how many pieces of sugar do you want,... If your answers are correct, mostly so that you don't insult him, he doesn't kill you. But don't let you influence by his directions. The 13. exercise is a duel in Retipuj Roulette, his version of russian roulette. You can choose the place of the bulllet and he chooses who will begin. But with a little trick it's possible to win against him.
In the game are also 13 *roman-easter-eggs" that you can search if you want.

The download contains also BIABI (BIABI is a brainfuck interpreter). The game uses this interpreter but of course you can also use it for your own brainfuck programs.

Both, Taking Over The World and BIABI are OpenSource (GNU GPL licensed).

http://www.49-6-dev.net/images/Totw.PNG

(Sorry if there are some English-errors, I'm from Luxembourg and started learning English two years ago)

Reedbeta
09-10-2006, 10:23 AM
I think you mean 'sweat', not 'swear' :)

Pit
09-10-2006, 10:47 AM
Oh, thanks... I think I've read it wrong in the dictionary.
It's now improved. Thanks.
(why nobody in the other forums told me that?)

Ed Mack
09-10-2006, 12:59 PM
Did you write this by hand, or use a compiler to generate the BrainFuck from some more readable syntax? If the former I'm very impressed by your tenacity!

Pit
09-10-2006, 01:58 PM
The whole code is written by hand, no tools or compilers. If I wouldn't write it in Brainfuck but use a compiler or such a thing, I could also program it directly in this language.
If you have a basis and a little practice it isn't so difficult. The number inquiry is mostly the same. A few changes in the comparison. The most work is to write the text, but that's not difficult. It costs only a lot of time and it irritates if there are some stupid mistakes to find (for example if there is one '<' too much).

SamuraiCrow
09-10-2006, 07:15 PM
Wow. BF was designed to be difficult to program in. Although if my memory is correct, the interpreter was designed to fit into a single boot sector on an Amiga floppy disk.