Based on the Cluedo BoardGame and the whodunnit starter from Stuart Lucas@CAS. Using the data provided write a program that randomly picks a location, weapon and person to generate a murder scene.
The player should be asked to pick one of each.
The computer will test the scenario and tell them how many correct choices they made.
A simple enhancement would be to record each guess with the number of right answers – rather like the mastermind code breaking game.
Some of these steps will need repeating until the user makes a correct guess.
Any problem you write should be tested and the best way of ensuring that you do a good job testing is to plan it before hand. The following image shows how you might test the basic Cluedo game.
Develop your game so it: