Thread: Java game
View Single Post
Old 10-14-2002, 06:24 PM   PM User | #3
katja
New to the CF scene

 
Join Date: Oct 2002
Location: Gothnburg, Sweden
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
katja is an unknown quantity at this point
Java Game

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?
Attached Thumbnails
Click image for larger version

Name:	sankaskep.jpg
Views:	309
Size:	14.1 KB
ID:	341  
katja is offline   Reply With Quote