[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Omaha.pm] RE: figure this one out
- To: jhannah@omnihotels.com, "Perl Mongers of Omaha, Nebraska USA" <omaha-pm@mail.pm.org>, <bakep@cox.net>, omaha-pm@pm.org, jhop@jays.net
- Subject: Re: [Omaha.pm] RE: figure this one out
- From: "Patrick Sean Baker" <pbaker@omnihotels.com>
- Date: Mon, 23 Aug 2004 16:23:54 -0500
- Cc:
- List-archive: <http://mail.pm.org/pipermail/omaha-pm>
- List-help: <mailto:omaha-pm-request@mail.pm.org?subject=help>
- List-id: "Perl Mongers of Omaha, Nebraska USA" <omaha-pm.mail.pm.org>
- List-post: <mailto:omaha-pm@mail.pm.org>
- List-subscribe: <http://www.pm.org/mailman/listinfo/omaha-pm>, <mailto:omaha-pm-request@mail.pm.org?subject=subscribe>
- List-unsubscribe: <http://www.pm.org/mailman/listinfo/omaha-pm>, <mailto:omaha-pm-request@mail.pm.org?subject=unsubscribe>
- Reply-to: "Perl Mongers of Omaha, Nebraska USA" <omaha-pm@mail.pm.org>
GJ. I didn't write a Perl script to figure it out. I noticed that
these series of numbers always gave the same result when you added the
first two digits together. It didn't dawn on me until I saw the
picture changing as you described.
90-99 = 81
80-89 = 72
70-79 = 63
etc...
>
> From: Patrick Baker [mailto:bakep@cox.net]
> >
> > http://www.mrgoodbeer.com/games/wacko.shtml
> >
> > Woah.
>
>
>
> -spoiler attached-
>
>
> Play the game above first if you want to.
>
>
>
> ---
>
> (I spent about 8 minutes on this.)
>
> Run the math on all possible choices:
>
> #!/usr/bin/perl
> foreach $pick (10..99) {
> ($a, $b) = ($pick =~ /(\d)(\d)/);
> $result = $pick - ($a + $b);
> print "$pick: $result\n";
> }
>
> No matter what number you pick, there are only 9 possible results.
If you look at the pictures associated with those 9 results, they're
all the same. The game changes which picture will be the answer for
each run, but there's only 1 possible answer, and that's the result
it "guesses".
>
> j
>
>
>
>
> _______________________________________________
> Omaha-pm mailing list
> Omaha-pm@mail.pm.org
> http://www.pm.org/mailman/listinfo/omaha-pm
>
>
Patrick Baker
Programmer
(402) 952-6508
pbaker@omnihotels.com