packages icon
README for "Code Breaker"

"Code Breaker" is a computerized variation of "MasterMind" (R) (Pressman (R))
I wrote it with GTK+ as a personal project to learn how to program applications
with GTK+ for Linux.

After un-taring and un-gzipping these files, cd into the code_breaker director 
(if you are reading this README, chances are you've already done this).

Now compile the program with the following commands:

	make
	make install

Or you can just type

	make all

to compile and install Code Breaker.


If you don't have root access, modify the line 

"install_directory = /usr/local/games/code_breaker" 

in the "Makefile" to a directory you have read & write permission to
(like someplace in your home directory) and enter the same commands as above.


If you are trying to build this program after a failed make, or are recompiling
it after altering my code, use the following:

	make clean
	make
	make install


The entire installation of this program can be removed with:

	make uninstall



To play Code Breaker, cd into the directory where the program is installed
and then type ./code_breaker

If you are unfamiliar with how to play MasterMind (R), instructions are in 
"how_to_play.txt" (which is viewable from within the program under "Help").

Since this is my first GTK+ program, I would appreciate any feedback on my
code and the application itself.

I can be reached at mberg@nmt.edu
Direct any comments, suggestions, or bug reports to this email address.

I hope you enjoy this program and find it to entertaining and challenging.