MasterMind Game

Here is a game that I coded early in my studies while I was learning programming for my engineering curriculum. I did some work in C++ and Visual Basic.
The game is called Master Mind and I got the idea from my older brother. Just Click in the icon below to start playing:

How to play:
Press Start and the computer will randomly generate a sequence of 4 colors. Your goal is then to find the sequence (both color and position of the color). Select the colors in the order you want them to be by clicking on the colored boxes. Once you have fill the complete guess click Try and the computer will tell you know many of the color you have chosen are correct and how many colors are in the right position. You have up to 6 rounds to find the sequence. Use the Clear bottom to clear you guess and change your guess if you whish to do so before trying it.

No comments:

Post a Comment