In this video

We create the Game Service file.

  1. Refactor game state and functionality into the Game service.
  2. Move the gridKey into the service.
  3. Move the checkForWinner method into the Game service, but not the emits of the teamWon event.
  4. Have the new checkForWinner return a boolean.
  5. Create a property on the game service called "winner" that will contain the name of the winning team.
  6. Move the blueTileSelected and redTileSelected properties into the game service.

I finished! On to the next chapter