home *** CD-ROM | disk | FTP | other *** search
- Code Breaker 1.01.a
-
- Here is my revision to Kenneth Fogel's Code Breaker game. This game is based
- on the commercial game Master Mind. I made this revision to the program just
- to keep in practice and to further my Windows programming skills. The
- following is a list of a few changes I have made that I feel help add to the
- enjoyment of this game.
-
- The number of buttons per row has been increased from 4 to 5.
- Hash defines have been used to specify the number of rows and collums.
- ( There are still a few places that need to be fixed to work
- properly with these hash defines, primarily with the print
- statements. )
- A new menu structure is now used.
- The information previously displayed on the main page has been put
- in a dialog box that is displayed when the help menu entry is
- clicked.
- The code has been cleaned up to use true ANSI-C for function parameters
- instead of K&R style.
- The size of the buttons has been increased. ( This may cause odd looking
- screens on an EGA monitor. The current setup was designed on a VGA
- monitor running at 800 x 600 resolution. )
- Once a player has won or lost a game, all of the number buttons are
- disabled and the guess button ignored to force the player to choose
- a new game if it is so desired.
- Plus a general cleanup of the code ( at least to my liking ) was done.
- The reason for this cleanup is that I learned my windows programming
- from the Petzold book, and have somewhat tailored my style after his.
-
- Since the original author of this program has hinted at the continuing of
- developing this program towards the colour aspect, I am going to try and aim
- my efforts at making the game easier and friendlier to use. The following is
- a list of the ideas I am considering adding to this program as time allows.
-
- Add a true help function that uses the Windows help utility.
- Add the ability to change the number of colloms and rows, and even the
- range of numbers at run time.
- Further cleanup of the code. ( More streamline and flexible. )
- Possibly, convert to a true C++ program. ( Objects, classes, etc. )
-
- As was intended by the original author, this is FREEWARE, and the source code
- is included. The following is a list of files needed to recreate this program
- ( note : The make file may need to be tailored to your specfic system. )
-
- CBREAK.C
- CBREAK.DEF
- CBREAK.H
- CBREAK.ICO
- CBREAK.RC
- CBREAK2.ICO
- MAKEFILE ( optional )
-
-
- Original author :
- Kenneth Fogel
- Omnibus Systems
- 8108 Norfolk Road
- Cote St-Luc, Qubec
- Canada H4X 1A3
- (514) 487-1565
- CIS: 74646,2157
-
- Co-author : ( myself )
- Charles W. Haden
- Shoebox Software
- 699 Lantana Street, Apt. #54
- Camarillo, CA 93010
- USA
- CIS: 71760,3557
-
- Happy Programming !!!
-
-