A long time ago I applied for a job. One of the assignments given during the interview was: Crate a Master Mind game. I made this. Test it here: http://sebastian.bragehansen.com/dev/mudpole/