Version 2014.9.14 Uploaded
This is the GUI version of the game. I will warn you, though, that it was built using JDK 1.8.0, so it may not run if you are using JRE 1.7.65. This ultimately means that it is not compatible with Windows XP, and you will probably have to manually install Java JDK & JRE 1.8.0 if you are using Mac or Linux.
Version 2014.9.13 Uploaded
The current version of Code Master (2014.9.13) is a CLI-version of the game. The ultimate goal is for the game to have a GUI, but due to issues trouble-shooting logic errors in conjunction with trying to get the GUI to work, it was easier to complete the working CLI version and then go back and build the GUI version later. The next release will have the GUI promised in the description.
Code Master is based on the 1970's game, Mastermind. You have 10 chances to correctly guess the Code Master's secret code. The code is 4 digits long, and comprised of digits ranging in value from 0 to 5.
Code Master is written in Java, with a Swing GUI. The program was written using Java 8, though it has successfully been tested on platforms using Java 7.5
There are two menus provided: File and Help. The File menu contains an entry (New Game) for starting a new game, which can be accessed by pressing CTRL+N. The File menu also contains an entry (Exit) for closing the program, which can be accessed by using ALT+F4. The Help menu entries are Rules and About, accessed by F! and CTRL+A, respectively. The Rules entry will display a synopsis of the rules of the game, similar to what is listed above in the "About the Game" section, above. The About entry will display version and author information about the program.
While playing the game, the display will show 4 asterisks until either the code is successfully guesssed or the player runs out of turns. At that time, the secret code will be revealed, along with an apropos message.
Guesses will appear below the display until all ten guesses are used or until the code is guessed. Results of each guess will be displayed as a series of P's and X's. P's represent the number of digits that the user guessed correctly. X represents the digits that the user guessed which are in the code, but in the wrong place. As such, a result of P X X means that 1 digit is in the correct place, 2 digits are in the code, but in the wrong positions, and the fourth digit is completely wrong.