没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > c-nc |
c-nc
|
0 | 0 | 0 |
贡献者 | 讨论 | 代码提交 |
C-NCThis 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