Code a bot to play the classic game of mastermind. If you are not familiar with the rules of mastermind full details can be found here.
Enter the competition by selecting the opponent housebot-competition and game style 6003 where you will be trying to guess a 6 peg, 12 colour combination before our housebot guesses yours.
Your performance will be tracked on our leaderboard where we will record the number of times you beat the housebot as a win percentage, the higher the percentage the higher you will appear on the leaderboard.
You will need to play a minimum of 50 games to qualify and until that point you will not appear on the leaderboard unless you click to see all entrants.
You can also enter as many times as you want so if your not happy with your first attempt you can just enter again using another bot name on the same account.
You can simply go to our website and start coding in the Online Code Editor. No download required.
The editor has some template code that shows you the basics of the game. You can start the code and see it working without changes. Read through the template code and incorporate your own strategy.
With the use of predefined functions, you can easily create a strategy that beats the housebot-practise bot.Start Coding Now
|1st||8,000||Raspberry Pi 3 Model B with PSU|
|2nd||4,000||32GB USB Sandisk Flash Drives|
|3rd||4,000||32GB USB Sandisk Flash Drives|
|4th||4,000||32GB USB Sandisk Flash Drives|
|5th||2,000||Defway Cable, Battery & Gadget organisers|
|6th||2,000||Defway Cable, Battery & Gadget organisers|
|7th||2,000||Defway Cable, Battery & Gadget organisers|
|8th||2,000||Defway Cable, Battery & Gadget organisers|
|9th||2,000||Defway Cable, Battery & Gadget organisers|
|10th||2,000||Defway Cable, Battery & Gadget organisers|
|11th||2,000||Defway Cable, Battery & Gadget organisers|
|12th||2,000||Defway Cable, Battery & Gadget organisers|