Sign in to follow this  
14 year old

Problem

Recommended Posts

Zahlman    1682
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?

Share this post


Link to post
Share on other sites
jyk    2094
Quote:
Original post by 14 year old

FIXED


Never Mind this was a stupid questiona and I just realized my error srry for the useless post.
Generally 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 :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this