View source for MBAC

From Openmoko

MBAC
Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to MBAC.

Personal tools

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)

Installation

 opkg install http://mbac.googlecode.com/files/mbac_0.3_all.ipk

Dependencies

pygtk

Links

Project Home

Sources

Package on opkg.org

Screenshot

Mbac1.png

Mbac2.png