This is a scratch version of the Battle ships. Turbo mode (shift + green flag) recommended for hard mode to work quicker. Rules Select a difficulty (see below for difficulty explanations). Select who goes first. Place your ships by dragging them. Once all ships are placed press the button on the side. If it's your turn select where you think the A.I. placed it's ships. Try and find all the ships, once you complete an entire ship it will reveal the rest of the ship outside of the red dots. Difficulties Easy - Randomly guesses each turn Normal - Randomly guesses until it finds a ship and then it searches around the located one for the rest of the ship. Hard - The A.I. finds every possible ship location and selects the circle with the most ships touching it. If there are multiple circles with the highest amount it selects the first one (left to right, top to bottom). Once a ship has been found it only selects the circles where a ship is also touching the previously revealed ship section. Any ships that are touching a previously selected circle isn't counted. Impossible - It just looks at your board and places the circles where it sees your ships are (left to right, top to bottom).
Based of the board game. All code and graphics are by me, @Spuddy35 I decided to make this game to make a simpler turn based A.I. before I try to make one for a more complex board game, Rummikub.