Personal tools
You are here: Home News Refinements of the CUELC Programming Competition Challenge

Refinements of the CUELC Programming Competition Challenge

by Niels Drobek last modified Jun 27, 2008 01:07 PM

  • A mastermind game with GUI
  • A console application that works as a code maker.
  • A console application that works as a code breaker

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.

Document Actions