Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 how to make sure that the user cn not pick a spot that is already used in my tic tac toe game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Banana




PostPosted: Sat Jan 12, 2013 12:27 pm   Post subject: how to make sure that the user cn not pick a spot that is already used in my tic tac toe game

What is it you are trying to achieve?
how to make sure that the user cn not pick a spot that is already used in my tic tac toe game


What is the problem you are having?
I'm new to turing and I'm not sure how to program the game to realize that the user is not allowed to chose that spot again
Sponsor
Sponsor
Sponsor
sponsor
DemonWasp




PostPosted: Sat Jan 12, 2013 1:38 pm   Post subject: RE:how to make sure that the user cn not pick a spot that is already used in my tic tac toe game

Well, to prevent the user from picking a spot that has already been picked, you probably need to know which spots have already been picked. Do you have that information in your program (hopefully in an array)?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: