Thread: Mastermind
View Single Post
Old Jan 5th, 2005, 10:18 AM   #4
squashed_frog
Newbie
 
Join Date: Jan 2005
Posts: 2
Rep Power: 0 squashed_frog is on a distinguished road
I've got to create a mastermind program. The uers has 6 coloured circles to click on. Everytime the user clicks a circle this circle is then displayed in a row until a sequence of four has been selected the computer then works out how many in the user selected sequence are the right colour and are in the right postion. It then displays balck and/or white pegs in response to the user input. I'm not sure how to get the computer to copy and display the circle again once it has been clicked on by the user.... :os
squashed_frog is offline   Reply With Quote