diff --git a/src/components/GameBoard.component.js b/src/components/GameBoard.component.js index c08665f..52f34ee 100644 --- a/src/components/GameBoard.component.js +++ b/src/components/GameBoard.component.js @@ -1,5 +1,6 @@ import {Component} from '../../lib/vues6.js' -import {Player} from '../module/util.js' +import {ShipType, isShipCell} from '../module/util.js' +import game_service from '../services/GameState.service.js' /* * This is the HTML/JavaScript for the game board component. @@ -20,7 +21,7 @@ import {Player} from '../module/util.js' * Battleship grid is 14x14. */ const template = ` -