
-----------------------------------
Kharybdis
Sun May 31, 2009 3:13 pm

BattleShip
-----------------------------------
My code is disgusting.. ah well.

This is just a reminder for me to create my own GUI for turing... 
If anyone wants the code ( i don't know why you would want to), take it.
Its nicely commented though :P

-----------------------------------
ecookman
Sun May 31, 2009 4:07 pm

RE:BattleShip
-----------------------------------
for some reason it won't work for me.

i open it and run it...
put exactly this

AC{enter}
Left{enter}
A5

and it says i have done something wrong...have I?

-----------------------------------
Kharybdis
Sun May 31, 2009 5:59 pm

RE:BattleShip
-----------------------------------
yeh. i was too bored to add all the string manipulation that would have let me do that.
you have to type in letter, press enter, then type row and then press enter.

i'm lazy, so sue me.

-----------------------------------
metachief
Sun May 31, 2009 10:54 pm

RE:BattleShip
-----------------------------------
Be careful! I might actually sue you for writing such code... XD

-----------------------------------
ecookman
Mon Jun 01, 2009 7:15 am

RE:BattleShip
-----------------------------------
ummm, i am still confused, could you give me an example of it?

-----------------------------------
zspamz
Mon Jun 01, 2009 7:48 am

RE:BattleShip
-----------------------------------
It sucks User friendly much?

-----------------------------------
Kharybdis
Mon Jun 01, 2009 8:14 am

Re: RE:BattleShip
-----------------------------------
ummm, i am still confused, could you give me an example of it?

type A
press enter
type 5
press enter.

You gotta put the ship where its valid. So if you're putting it up, its going to take the coordinates you put and put it up. If there's not enough spaces for the ship to be put there, you'll get an error.

read the instructions.
