Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies
Bulls and Cows Calculator 1.2 icon

1.2 by Wolfgang Strobl


Nov 23, 2015

About Bulls and Cows Calculator 1.2

Simulates a Bulls and Cows calculator from 1998. It breaks the hidden code!

From the retrocomputing department: this is a Bulls & Cows or Mastermind solver as a replica of a hardware solution (calculator) I built myself in 1998. The calculator solves the guessing game known as "Bulls and Cows" with about five questions.

The point of Bulls and Cows is to guessing a four-digit secret code thought up by the game opponent. The player offers a guess, the opponent responds with the number of matching digits ("bulls") and the number of remaining misplaced digits ("cows").

Details see http://www.mystrobl.de/ws/pic/mm47/index.htm .

The game was marketed in slightly modified form (using color pegs instead of numbers) by Invicta Plastics under the trademark "Mastermind".

The original calculator was based on minimal hardware (a Microchip PIC16F84-04 microcontroller with 18 pins, 68 bytes of memory and 1024 words of program memory, four undecoded seven-segment displays, two buttons), where the controller not only computes the next guess, but handles two buttons and drives all 32 LEDs.

A detailed description is found in http://www.mystrobl.de/ws/pic/mm47/index.htm

A true simulation of the original hardware circuit, including the original firmware, based on the Hades simulation framework of the computer science department of the University of Hamburg, can be found here:

http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/72-pic/90-mastermind/fast-mastermind-mux.html

This android app emulates the appearance and behavior of the calculator, but not the exact algorithm of the former implementation. In addition to the motive of just playing around, exploring the "Pygame Subset for Android" (http://pygame.renpy.org/) on a concrete example was the main reason to create it.

Quick guide: choose and remember four digits (numbers 1 through 7 inclusive), then start the app. Answer by pushing the buttons. Left button counts 0 1 2 3 4, right button serves as an enter key. First digit ist the number of bulls (exact match), second digit is then number of cows (misplaced correct digits). Shortly after pressing Enter the second time, the seven-segment display to the next guess. Guessing the right combination is indicated by a wandering decimal point, an error in at least one of the answeres through 0.0.0.0., with a wandering decimal point.

License: free for personal use, all other rights reserved.

What's New in the Latest Version 1.2

Last updated on Nov 23, 2015

1.0 First version. State isn't preserved, not even for task switch.
1.1. better segment display, sound, sd card permissions removed
1.2 splash screen, save/restore, if app gets terminated in the background

Translation Loading...

Additional Game Information

Latest Version

Request Bulls and Cows Calculator 1.2 Update 1.2

Uploaded by

Wai Yan Htet Lynn

Requires Android

Android 2.0+

Show More

Bulls and Cows Calculator 1.2 Screenshots

Comment Loading...
Subscribe to APKPure
Be the first to get access to the early release, news, and guides of the best Android games and apps.
No thanks
Sign Up
Subscribed Successfully!
You're now subscribed to APKPure.
Subscribe to APKPure
Be the first to get access to the early release, news, and guides of the best Android games and apps.
No thanks
Sign Up
Success!
You're now subscribed to our newsletter.