diff --git a/src/components/GameBoard.component.js b/src/components/GameBoard.component.js index a3e4b72..c4c0277 100644 --- a/src/components/GameBoard.component.js +++ b/src/components/GameBoard.component.js @@ -29,6 +29,10 @@ const template = ` v-bind:render="cell.render" > + ` @@ -51,11 +55,11 @@ export default class GameBoardComponent extends Component { */ rows = [] column_labels = ["A", "B", "C", "D", "E", "F", "G", "H", "I"] + async vue_on_create() { this.rows = game_service.get_current_player_state() - this.ready = true - + this.ready = true } } diff --git a/src/style/components.css b/src/style/components.css index aefdc3c..b82a846 100644 --- a/src/style/components.css +++ b/src/style/components.css @@ -41,3 +41,14 @@ .game-board-cell-component.missed { background: #eeeeee; } + +.game-board-component { + display: flex; + +} +.column_labels { + + padding: 20px; + flex-direction: column-reverse; + +} \ No newline at end of file