Mastermind game for iPhone. It should work with any web browsers with JavaScript on. But I wrote it mainly for iPhone, so I'll use the word iPhone intead of browser.
The game is written using Google Web Toolkit (GWT).
To play, just point your iPhone to http://muquit.com/iphonemm/
If possible, please download iphonemmx.xx_web.zip and host it in your own web server instead.
Screenshots
Rules
- Your iPhone creates a code with 4 colors randomly picked from 6 colors (first row).
- The number of colors can repeat.
- Your goal is to find the code.
- Start by guessing 4 colors.
- Score will be given with black and/or white pegs.
- A black peg indicates a color is correct and it is also at the right position. A white peg indicates a color is correct but it is at the wrong position. The scoring pegs do not indicate the order of the guessed colors.
Download
The game is nothing but a sophisticated JavaScript. If you want to host it to your web server, download iphonemmx.xx_web.zip and unzip it inside document root. The directory iphonemm will be created. Access the URL http://your_server/iphonemm/ from your iPhone.
If you want the source, download iPhoneMMx.xx.zip or the latest development code can be obtained via Subversion. I personally use svn (on Linux), Subclipse (with eclipse) and TortoiseSVN (Windows).
svn checkout http://iphonemm.googlecode.com/svn/trunk/iPhoneMM/
If you're wondering how the code looks like, have a look at iPhoneMM.java.
For compiling information etc. Please look at the Wiki section.
Suggestions, bug reports are always welcome!
Please send your comments etc. to muquit@gmail.com
Enjoy!