Graphic JavaScript


Back to index
Battle Buoy

Your browser does not support the HTML5 canvas tag.

ASSIGNMENT:

Your job is to turn this into a 10x10 game area. Your implementation will include seven buoys. Players start with ten points and lose a point for each click that doesn't turn up a buoy. They gain ten points for each buoy they find. Losers run out of points before they find all the buoys and winners find all seven buoys. What is the highest score possible in this game? (Feel free to improve the graphics and include something that actually looks like a buoy and maybe sharks for the squares representing misses.)