It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
siulebuo: Really, now the analogy seems more difficult to me that the challenge.
Why, there is gas, there is gas cap and its on the car. Nothing difficult. I think what really difficult, is that people (me included) might push the pedal over and over, listening to engine noise without realizing this isn't Corvega Atomic V8.
Post edited October 21, 2015 by Lin545
Some cars might have an exhaust pipe and actually produce exhaust without any gasoline. Weird but true.
avatar
ZFR: Some cars might have an exhaust pipe and actually produce exhaust without any gasoline. Weird but true.
Now nobody's gonna solve it. Happy vacation!
Some people peel off the protective film off screens... etc and some people leave it. If you do peel it off however, you should be really careful that part of the screen is not stuck to the film and peeled off and thrown away with it.
OK, since I don't want the game to end up unredeemed, here is the plan:

(At any time during this if you solve the code feel free to grab it. This goes too to those who already solved it and want to change their mind about getting the game.)

My first priority is to give the game to those who at least attempted to solve this. So I'm going to PM the name of the game to them (not the solution to this). If any of them wants it, he'll get the game. If it's more than one person, I'll use random.org

The people are:
bler
grimwerk
helpo
Graubert
RupertMurdock

If I missed anyone (i.e. if you already partially solved it) please let me know and I'll include you too.

If it turns out that none of these people want it, then by Monday or Tuesday I'll reveal the name of the game and offer it in a public giveaway.

As mentioned earlier, at any time during this anyone who solves it can get the game. This was the original intention of this giveaway (and I can't really do anything about it anyway, since the code is out there). So don't be surprised/offended if you say you're in but someone else snatches it at the last moment. The only way to guarantee you get the game is to solve the puzzle and redeem it yourself.
Post edited October 25, 2015 by ZFR
I confess I got distracted and spent the free time I had this week binge-watching iZombie, and then making headway on some of my backlog.

I'm not in for the prize, but if I don't solve the puzzle I would still be curious to see the solution when all is said and done!

Thanks for the challenge!
Since none of those who have partially solved it have expressed desire in owning the game, and since this has been running for almost 2 weeks now, I'll be donating the game in a public giveaway.

http://www.gog.com/forum/general/imperialism_giveaway

Of course the code is still out there should you solve the puzzle correctly.
Post edited October 27, 2015 by ZFR
The code has been sent to Phc7006.

This means that the game reward is no longer available to whover solves this puzzle. However the much greater reward of satisfaction for finally arriving at the solution is still there for grabs.

I'll post the solution sometime later. By the weekend if I don't have time before that. In gradual steps as I did last time.
avatar
ZFR: The code has been sent to Phc7006.

This means that the game reward is no longer available to whover solves this puzzle. However the much greater reward of satisfaction for finally arriving at the solution is still there for grabs.

I'll post the solution sometime later. By the weekend if I don't have time before that. In gradual steps as I did last time.
Awesome, looking forward to it! :)

+10!
Message appropriately shown f... up. Switching to http://pastebin.com/ui5zXCYg
Post edited October 28, 2015 by v3
Solution is up. Attachments to the first post.

Some additional stuff:

I said that there actually is a hint about where to input those "coordinates". And in this post I said that general analysis of the brainfuck code could be illuminating.
Now for the befunge code, I filled the empty spaces. Some with phrases like GOG.com roxxx or Gold, and some with just gibberish. However there was one character that I never put there: the tilde (~). On the other hand the brainfuck code did contain commas (4 of them, one of which was in a loop). This was the hint. The befunge code doesn't allow input, while the braifuck code does.
(later I noticed that as an oversight, I did include an ampersand (&) in my befunge code, which is used for numerical input. However, it is in that part of code that's never reached anyway).

Also, another way in which general analysis of the brainfuck code could be illuminating, was that even after putting the extra text in memory (see below), a large part of the code was never run. That was a hint that there is more to the brainfuck code.

As for the extra text in memory: my last esoteric challenge contained a hint that was stored in memory but never printed. This time, if you analyse the memory you'll see "no hints here this time" (or something similar). This meant the original code doubled in size (sadly you can't reuse cells, since they actually have to store the text, so it's not like when you output text from a cell and then can reuse it for something else).

Either way, once I was done the brainfuck code was roughly 1/3 for outputting the befunge code, 1/3 for storing the "no hint" in memory and 1/3 for producing the code given the correct input.

For those interested: the code would sum up the first 2 characters of input. If they do not add up to 210 ('c' + 'o'), it would output the befunge code. Otherwise, it will check the remainder of the code and use it to compute the game code to the output. If the remainder is "ordinates?" (where ? is any single character), the correct code would be produced (this is because for example the first character of the code, which is '8' is done by taking the first character of the remainder of the outpu 'o' and subracting 55). Otherwise you'll get some incorrect code. I did this on purpose (rather than just outputting the game code), so that even if soemone completely analyzed the brainfuck code, they won't get the code if they don't know "..ordinates:".

This means, that you'd get the correct answer, even if you input "bpordinatesU" for example ;)
Post edited October 30, 2015 by ZFR
avatar
ZFR: *snip*
Once again, it was an excellent puzzle ZFR. But goddamn, it must have taken you AGES to make it. I'm very much impressed :-)
avatar
ZFR: *snip*
avatar
Wishbone: Once again, it was an excellent puzzle ZFR. But goddamn, it must have taken you AGES to make it. I'm very much impressed :-)
Seconded. No idea how you have the patience...
And my thoughts about the 2 languages:

(I'm happy that, based on the PMs exchanged, at least one person never came across it before and became interested in it).

_brainfuck: I really like it. It's amazing what can be done with just memory cells, a pointer and few simple commands (increment/decrement, move pointer, conditional jump, I/O). It's Turing complete, so technically you could write the Witcher 3 in it!
Seriously though, it is a good teaching tool for kids. And good fun for any programmer who'd like to try a simple assembler-like language.
And contrary to what it seems, it need NOT produce obfuscated code. Quite the opposite in fact. The fact that you can write comments anywhere means you can create a very neat, well-organized program.
For example, you could substitute the commands as follows:

+INC -DEC >RIGHT <LEFT ,IN .OUT
and the code would still work

You can put text to explain your work every step of the way, pointing out exactly where your pointer is and what you're doing... etc.

On the other hand you could create a valid program that looks really obfuscated to someone who doesn't know about this. Or add even more *&%$()^$^ characters for complete gibberish. Or create ASCII art with it. You should check out the stuff people do with it.

_befunge: I love this one too.
4-directional movement aside, it is great because it again show how you can do lots of stuff with just a stack and pushing and popping (last in, first out). It would be Turing complete, except that the original version put limits on the grid size. Still it's a good teaching tool too for someone wanting to learn about stacks.
The 4-directional movement though adds another... er... dimension to the fun. And last but not least, there are 2 commands wich actually modify the code. Which can be used in two ways: for storing and retrieving data outside the stack, and (which is much more interesting) for writing self modifying code.

Unfortunately (or perhaps fortunately, depends on how you look at it) this means that almost all befunge code will be obfuscated. Although you can put comments, it might be difficult to squeeze them in and have them explain what does what. The 4 directional movement (including for example '?' which means "move in a random direction") can give a whole new meaning to spaghetti code. And if you add self modifying code to it, you'll understand why it's so extremely easy to quickly get lost in it.

ADD:
Oh, and something else. You might be interested to know that brainfuck is being used a lot in proving that a given language is Turing complete. Bascially, if the 8 brainfuck commands can be translated into language A then, since brainfuck is Turing complete, A is also Turing complete).
Post edited October 30, 2015 by ZFR
Thank you ZFR, for awesome challenge!!

The major difficulty for me was result of my oversight. One must copy paste the whole piece into brainfuck interpreter, not just whats inside the "@@@@" lines, what one would take as a comment.

Without those lines, any input is not parsed - as you can see from my "starved on input" messages where I hinted to have no idea what to put in input, as - everything is then ignored.