Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Challenge: Can you solve the game of Munch/Chomp?
Stedwick
2/14/2008 4:09:00 AM
http://www.philipbrocoum....
I think the game is really fun, especially since the comp will whoop
your butt.
Anyway, I solved it in my own, ridiculously newb-ish way using Ruby
(I'm a math guy, not a programming guy). But, that's one of the
reasons I love Ruby, it's making programming fun again.
Anyway, I found this to be a good math challenge, and slightly less so
a good programming challenge.
So, give it a shot! And let me know what you come up with.
Philip
PS I'm really into solving games with Ruby these days. I was reading
the incredible blog posts about solving Boggle with Ruby here (and
translating it to C++):
http://www.danvk.org/wp/2007-01-30/boggle-2-the-shorte...
In only 12 lines, no less.
Fascinating stuff!
3 Answers
Stedwick
2/14/2008 4:13:00 AM
0
Btw, here's a list of all winning positions on boards up to 8x9, if
you want to check yourself:
http://www.philipbrocoum.com/munch/winn...
Philip
James Gray
2/14/2008 2:20:00 PM
0
On Feb 13, 2008, at 10:10 PM, Stedwick wrote:
>
http://www.philipbrocoum....
This is very similar to Tactics:
http://www.rubyquiz.com/q...
Thanks for the fun diversion.
James Edward Gray II
Stedwick
2/14/2008 4:50:00 PM
0
Haha, I'll add Tactics to my list of airport games: games that you
play with a sheet of paper with your friends while delayed at the
airport =)
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Challenge: Can you solve the game of Munch/Chomp?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password