Angular
Let's Code Together - Flopnames

Refactor Into a countTile Method

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

In this video

We refactor checkForWinner and create a new countTile method.

Assignment:
  1. Log out the correct winner when the game ends.
  2. In order to determine who the winner is when the assassin is clicked, the current team must be known.
  3. Inject the current team from the app component into the gamegrid component to enable this.
 

I finished! On to the next chapter