Here is a JQuery example I would like to turn into a game of battleships