Skip to content

Instantly share code, notes, and snippets.

@jecfish
Last active September 4, 2017 20:53
Show Gist options
  • Save jecfish/4ac861a94c6158817d852ba45dc4a302 to your computer and use it in GitHub Desktop.
Save jecfish/4ac861a94c6158817d852ba45dc4a302 to your computer and use it in GitHub Desktop.
<!-- app.component.html -->
<my-top-bar (reset-clicked)="resetGame()"></my-top-bar>
<my-top-message [time]="currentTime"></my-top-message>
<my-cards [cards]="cards" (card-flipped)="startGame()" (all-cards-matched)="stopGame()"></my-cards>
<my-pop-up-modal *ngIf="isGameCompleted" [time]="currentTime" (reset-clicked)="resetGame()"></my-pop-up-modal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment