资 源 简 介
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: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报