What's new? | Help | Directory | Sign in
Google
c-nc
A Mastermind-style game for handhelds
  
  
  
  
    
Join project
Project owners:
  scvalex

C-NC

This is a Mastermind (Enigma, Guess, etc.) style GTK+ game. It implements two modes of play: player guesses computer's code and computer guesses player's code. The two modes alternate between rounds.

A code is a four digit number in which no two digits are the same. In addition, the number cannot start with 0. After the player inputs his guess the computer returns two number: the number of centered digits and the number of non-centered digits.

A centered digit is a digit that appears in the code and is in the correct postition. Ex. code: 1234 guess:1537; there are two centered digit: 1 and 3.

A non-centered digit is a digit that appears in the code but is NOT in the correct position. Ex. code: 1234 guess: 4281; there are two non-centered digits: 4 and 1.

The goal is to guess the code.

Download latest version: c-nc-0.5.tar.gz

BitBake recipe: c-nc_0.5.bb