IS_SHIP
if ((collide = IS_SHIP(board[b][x][y])) != 0)
collide += IS_SHIP(board[b][xend][yend]);
hit = IS_SHIP(board[COMPUTER][curx][cury]);