Skip to content

Commit

Permalink
Add easter egg
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo committed Dec 17, 2021
1 parent 9572895 commit 75f0211
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/services/game.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class GameService {
private usersService: UsersService,
private cardsService: CardsService,
private flashService: FlashService,
private soundService: SoundService,
private router: Router,
private dialog: MatDialog
) {
Expand Down Expand Up @@ -138,6 +139,10 @@ export class GameService {
},
});

if (draw.value === 6) {
this.soundService.play("prst_a_krk");
}

// Check if ace or game done
if (draw.value === 14) {
this.showChugModal();
Expand Down
Binary file added src/assets/sounds/prst_a_krk.mp3
Binary file not shown.
Binary file added src/assets/sounds/prst_a_krk.ogg
Binary file not shown.

0 comments on commit 75f0211

Please sign in to comment.