Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (4 sloc) 0.695 kb

Mastermind in Eiffel

This is an implementation of the Mastermind game in Eiffel.

It supports an arbitrary number of colours and pins, and can be played by both humans and computers (the computer's "AI" is alright; it uses an algorithm that's faster than Knuth's, but not as good).

It was originally for a college assignment, but I thought I'd stick it as something that people learning Eiffel could look at; I found very little Eiffel code on the net when I was learning it.

Jump to Line
Something went wrong with that request. Please try again.