Author Topic: Magic Gopher game!  (Read 1498 times)

0 Members and 1 Guest are viewing this topic.

Offline Polyphony

  • VIP
  • Knight
  • *
  • Posts: 178
  • Cookies: 23
    • View Profile
Magic Gopher game!
« on: September 29, 2012, 03:19:14 am »
Can anybody figure out how this works? I am very curious... it is correct every single time XD I would love to program a simple application to use the same algorithm, but I'm too dumb to figure it out lol

http://www.learnenglish.org.uk/games/magic-gopher-central.swf
« Last Edit: September 29, 2012, 03:19:36 am by Polyphony »
Code: [Select]
<Spacecow_> for that matter I have trouble believing bitches are made out of ribs
<Gundilido> we are the revolutionary vanguard fighting for the peoples right to display sombrero dawning poultry
<Spacecow> did they see your doodle?
<~phage> Maybe
<+Unresolved> its just not creative enough for me
<+Unresolved> my imagination is to big to something so simple

Offline relax

  • Sir
  • ***
  • Posts: 562
  • Cookies: 114
  • The one and only
    • View Profile
Re: Magic Gopher game!
« Reply #1 on: September 29, 2012, 03:57:39 am »
sry but it dident say right awser to me

Offline silenthunder

  • Royal Highness
  • ****
  • Posts: 700
  • Cookies: 23
  • Anpan.
    • View Profile
Re: Magic Gopher game!
« Reply #2 on: September 29, 2012, 04:26:50 am »
not the right answer for me either


"Hacking is a lifestyle, a specific mindset, and it really is a lot of work." - Daemon

"Just wanted to state that this is just wicked social engineering at its best." - proxx

Offline Polyphony

  • VIP
  • Knight
  • *
  • Posts: 178
  • Cookies: 23
    • View Profile
Re: Magic Gopher game!
« Reply #3 on: September 29, 2012, 07:07:39 am »
It guesses mine every single time except when I "try" to win... I don't understand how I'm trying to win at a game like that xD
Code: [Select]
<Spacecow_> for that matter I have trouble believing bitches are made out of ribs
<Gundilido> we are the revolutionary vanguard fighting for the peoples right to display sombrero dawning poultry
<Spacecow> did they see your doodle?
<~phage> Maybe
<+Unresolved> its just not creative enough for me
<+Unresolved> my imagination is to big to something so simple

Offline DangerousLlama

  • Peasant
  • *
  • Posts: 90
  • Cookies: 5
  • Eat hay, not war.
    • View Profile
Re: Magic Gopher game!
« Reply #4 on: September 29, 2012, 01:35:53 pm »
Didn't work for me.

But this guy always guesses right: http://en.akinator.com/personnages/ xD

Peace

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Magic Gopher game!
« Reply #5 on: September 29, 2012, 08:44:55 pm »
Didn't work for me.

But this guy always guesses right: http://en.akinator.com/personnages/ xD


Took it two tries to guess mine.
>>>import this
-----------------------------

Offline Zesh

  • Royal Highness
  • ****
  • Posts: 699
  • Cookies: 42
    • View Profile
Re: Magic Gopher game!
« Reply #6 on: September 29, 2012, 10:16:01 pm »
Bitch, got it right the first time but the second time round, I when through it quicker and it got it wrong. Maybe its got something to do with time? :P

Offline s3my0n

  • Knight
  • **
  • Posts: 276
  • Cookies: 58
    • View Profile
    • ::1
Re: Magic Gopher game!
« Reply #7 on: September 29, 2012, 10:51:28 pm »
x and is an integer between 1 and 9 including.
y and is an integer between 0 and 9 including.

So (10x + y) is an integer between 10 and 99 including.
This is the integer that gopher asks you to chose.

The gopher then asks you to add the two parts of the double digit number together.
This is (x+y).

Then he asks you to substract your original number from this one.
That is:
(10x + y) - (x + y) = 10x - x + y - y = 9x

So now we know that this answer will always be a multiple of 9.

Now look closely at the symbol table. Every 9th symbol is the same.
And we know that our answer will always be a multiple of 9.
So the gopher just chooses the symbol that is at 0 or 9 or 18 or 27 and etc.

:)
Easter egg in all *nix systems: E(){ E|E& };E