Refinements of the CUELC Programming Competition Challenge
Deliveries
As deliveries for the CUELC Programming Competition the following parts are required:
- A console application that works as a code maker.
- A console application that works as a code breaker
- For each of the above mentioned console application a GUI is required
Generally speaking, the challenge is extended so that now not only the game itself has to be created (code maker), but also the potential player (code breaker). The purpose is to be able to compare the two parts of the various teams against each other, respectively.
Code Maker
The code maker program should receive guesses on standard input. Each guess is a line of 4 numbers from 1 to 6 representing the colors of the pegs. The output of the code maker after each guess will be a tuple W B E. where W is the number of small white pegs, B is the number of small black pegs and E is 1 if a new game should start (B= 4 or maximum number of guesses exhausted) and 0 otherwise.
Code Breaker
The input to the code breaker is the output of the code maker and vice versa.
The other evaluation criteria are still valid as described in CUELC Programming Competition 2008

