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

Username:   Password: 
 RegisterRegister   
 BATTLESHIP problem!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jasonhan416




PostPosted: Wed Jan 14, 2009 1:26 am   Post subject: BATTLESHIP problem!

hello.
i need help with the battleship.
This is just a sample of the work and I need help with it.
When i run it and click on the empty box on the bottom, it works but after it makes a message saying you missed the ship, it doesnt work anymore. I want this to get looped as in.. IF the player 1 hits the box, it goes to player 2 and so on and so on.

CODING IS on the attachment.



takingturn.t
 Description:

Download
 Filename:  takingturn.t
 Filesize:  16.3 KB
 Downloaded:  58 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
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  [ 1 Posts ]
Jump to:   


Style:  
Search: