I understand what you say, but in battleship, ships can't be diagonal or touching each other, so there wouldn't br any problem. The thing is that if you have one million ships, you don't have all those letters in the alphabet, that's why I used *.
The idea I had on my mind was to make it go...
Here you have the tablero.dat file, note that those are not zeros, those are Ohttps://mega.co.nz/#!uA8AnISD!Bmibh3Sz_6mqfZU7PvC--X1V0copqSVthTj5him0dCY
Hi, I'm from Spain, so please, don't be too bad with my english :D
I'm just having a little trouble trying to finish some kind of Battleship code, I'm stuck with boats 3 and 4 units long, and I haven't found any other place to ask for some help/advice.
The code I posted here works perfectly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.