WEBVTT

1
00:00:00.000 --> 00:00:00.873
Let's walk through the solution for
these two methods, and

2
00:00:00.873 --> 00:00:05.089
then you'll be ready to move on to the
next stage, rendering our game on screen.

3
00:00:05.089 --> 00:00:07.169
Navigate to your Game.js file.

4
00:00:07.169 --> 00:00:11.921
Once you're inside, double check that your
Game class declaration matches what you

5
00:00:11.921 --> 00:00:12.781
see on screen.

6
00:00:12.781 --> 00:00:14.246
The constructor method for

7
00:00:14.246 --> 00:00:18.076
the Game class is rather straightforward,
it receives no arguments.

8
00:00:18.076 --> 00:00:20.690
The first property is the board property.

9
00:00:20.690 --> 00:00:23.829
This is set to a new Board object.

10
00:00:23.829 --> 00:00:26.838
The players property will
hold an array of two players.

11
00:00:26.838 --> 00:00:30.000
This property will be set to the return
value from a call to the createPlayers
