forked from ilstam/mastermind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
32 lines (25 loc) · 1.13 KB
/
README
File metadata and controls
32 lines (25 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
** NOTE by migf1 **
This is the last version of my fork that was in synch with Ilias' master
repository. If you are looking for the latest version of my fork, please
select the 'migf1' branch.
Mastermind
==========
A CLI implementation of the well-known Mastermind game.
It is written in C99 and is supposed to be platform independent.
Game rules
-----------
At the beginning of the game computer chooses a secret code consisting of
4 unique colors in random order. Your goal is to find this code and to do so
you have a specified number of tries. For each try computer gives you some
information. For each color that exists in your code in exact the same position
as in computer's secret code a red mark will be sown and for each color in your
code that appears in secret code too but not in the correct position, a yellow
mark will be sown. If you find the secret code before the game is over, you win.
Requirements
------------
You only need a C compiler and the Make tool.
Installation
-------------
Just type make to compile the program.
You can remove the program binaries and object files from the source code
directory by typing `make clean'.