The Shoebox. A place for lil' apps to live in peace and harmony.

Mastermind, written in Ruby, using Shoes.

Provides 4 difficulty levels (3 serious, 1 joke), each of which spawns a new game of Mastermind with a random puzzle. Within the GUI, we can click on colors (or type numbers that they correspond to) to select them, and then click on circles in the current guess to make them the selected color. If we get the guess right, we win; otherwise, the game shows us what merits our guess has. We repeat until we run out of guesses or win.

This code also lives at <http://squire.case.edu/git/mastermind.git>.

Versions:
.gz
0.1
.gz
0.2.1
.gz
0.2.2
.gz
0.2.3


Speak now or forever hold your peace:

AugustusCaesar
April 1, 2009

I think I love it.

The code also demonstrates me big deficits in my own Shoes-knowledge. But then, again, it answered a few questions, which I have pondered for a long time due to the clumsiness of my own shoes-components.

Thanks a lot.


How do I use this?