This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

brian5021
brian5021 presents ...

2012/5/17

Battleship

This is incomplete right now. I'm having trouble making my computer "smarter" with its guessing without running to errors and exceptions. Would love for someone to take a look and give some feedback. No other open source battleship on Greenfoot. Thanks!

Run game
Click and drag ships to desired location on the left-side board.
Right-click to change orientation of ship.
Then click start
Finally start guessing by clicking on the right grid.

Game on!

5361 views / 11 in the last 7 days

2 votes | 0 in the last 7 days

Tags: mouse game battleship source open brian brian's

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Thu May 17 16:09:39 UTC 2012
A new version of this scenario was uploaded on Mon May 21 15:12:53 UTC 2012 Locked-code last update
joeschmoejoeschmoe

2013/6/23

no win/lose screen?
valdesvaldes

2016/5/4

Brian, I took your game and enhance it. No more errors and exceptions, Random location of computer ships. Validation of correct location of player ships. More ships, Win/Lose screens, sounds and images added. I don't know if I made it smarter, you be the judge of that. Thanks!

Want to leave a comment? You must first log in.

Who likes this?

valdes joeschmoe