Flatfile Battleships Game using PHP and JQuery