# MBAC

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

## Introduction

MBAC is a simple porting of Bulls and Cows, game similar to Mastermind.

## Rules

Computer choice a random number with all digits different, and the human player should guess it. Every turn, human player insert a number, and computer check:

- the number of digits in exact position >> bulls

- the number of digits guessed but in wrong position >> cows

Example: secret number 3567
1 turn: 2510	1B0C (1 bull for digit 5 and 0 cows)
2 turn: 5430	0B2C (1 cows for digit 5 and 3)
3 turn: 1503	1B2C (1 bull for digit 5 and 1 cows for digit 3)

pygtk

## Introduction

MBAC is a simple porting of Bulls and Cows, game similar to Mastermind.

## Rules

Computer choice a random number with all digits different, and the human player should guess it. Every turn, human player insert a number, and computer check:

- the number of digits in exact position >> bulls

- the number of digits guessed but in wrong position >> cows

Example: secret number 3567
1 turn: 2510	1B0C (1 bull for digit 5 and 0 cows)
2 turn: 5430	0B2C (1 cows for digit 5 and 3)
3 turn: 1503	1B2C (1 bull for digit 5 and 1 cows for digit 3)