MasterMind

A Mastermind game I’ve written for a contest. Both the (cross-platform) source code and a Windows binary are available. Of course,
it’s buildable on many other platforms :-).

Description

This is a Mastermind game I’ve written for a contest. It uses the Allegro library. A compiled version is avaiable for Windows though it should build on all platforms supported by Allegro (MacOS X, DOS, QNX, BeOS and most UNIX flavours).

Features

  • Code length from 2 to 8 colors
  • Choose the maximum number of code breaking attempts, how many colors you want in the code and if the same color may used more than once
  • Set time limit
  • Run fullscreen or windowed
  • Sound effects
  • Multiplayer, both on the same computer and over a network

Screenshot

Click for larger version

Mastermind screenshot

Download

Download Mastermind 1.0 and source (522kB RAR)

Linux users need to build the source themselves. A Linux makefile is included so all you have to do is type `make’ in a shell. However, you also need the Allegro library wich can be found at http://www.talula.demon.co.uk/allegro.

Leave a comment