Problem
You're iteratively choosing a position until you find one where the type is *not* 1. Then you set it to 2.
What do the different type values mean? What types correspond to the empty squares (you should loop until the type is in that set)? What type corresponds to the computer pieces (you should set to that type)? Hint: What happens if a square is chosen and its type currently is 2?
What do the different type values mean? What types correspond to the empty squares (you should loop until the type is in that set)? What type corresponds to the computer pieces (you should set to that type)? Hint: What happens if a square is chosen and its type currently is 2?
Quote:Original post by 14 year oldGenerally it's best to leave the original question posted; that way, others can benefit from the answers as well. And don't worry about it being a 'stupid question'. Even assuming there are such things, no one here would hold it against you :)FIXED
Never Mind this was a stupid questiona and I just realized my error srry for the useless post.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement