No,No,No... Not thst kind of game. The game like in the attached picture. THe concept is:
You have a board with squares 10x10, where you can randomly place 1 4-squared ship, 2 3-squared, 3 2-squared and 4 1-squared. Ships can only be placed vertically or horisontally (not diagonally) and the squared of two different ships can't touch each other. The play should try to hit all the ships in as little time as possible. Look at the attached picture. The red squares are the ships the player has killed and the crosses are the empty spots where there aren't any ship. It's extremely simple game which requares a little knowledge in Java (My teacher said he could write this game in an hour, I can't).
Anyway if you can't help me with this, maybe you vcan help me to write a code for the TicTacToe?