An implementation of the Mastermind game in Eiffel
Eiffel
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.markdown
computer_player.e
game.e
human_player.e
key.e
key_diff.e
mastermind.e
player.e

README.markdown

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.