<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import = "game.*"%> <% String errorMessage = board.getErrorMessage( ); if (errorMessage != null) { %>

<%=errorMessage%>

<% } %> My submarine project <% for (int column = 0; column <% }%> <% for (int row = 0; row <% for (int column = 0; column <% }%> <% } %>
 <%="" + (char)('A' +column)%>
<%=row%>
<% if (image.equals("blue.gif") == true) {%> <%}%>

AFTER <%= board.getCount_moves() %> MOVES: <%= board.getCount_destroyed() %> DESTROYED, <%= board.getCount_damaged()%> DAMAGED, <%= board.getCount_hidden()%> HIDDEN <% if (board. getCount_hidden()==0) { %>

CONGRATULATIONS ! YOU WAN THE GAME!!!! <% } %>

move:

INDEX :

BLUE CELL -CELL YOU DIDN'T HIT YET

RED CELL - CELL YOU DID HIT, BUT YOU MISS

SUBMARINE CELL - YOU FOUND A SUBMARINE