feat(game): add blackjack game component and routing
Some checks failed
Some checks failed
This commit is contained in:
parent
32aa753452
commit
eb153f4459
12 changed files with 273 additions and 2 deletions
|
@ -38,31 +38,37 @@ export default class HomeComponent implements OnInit {
|
|||
id: '1',
|
||||
name: 'Poker',
|
||||
image: '/poker.webp',
|
||||
route: '/game/poker',
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
name: 'Blackjack',
|
||||
image: '/blackjack.webp',
|
||||
route: '/game/blackjack',
|
||||
},
|
||||
{
|
||||
id: '3',
|
||||
name: 'Slots',
|
||||
image: '/slots.webp',
|
||||
route: '/game/slots',
|
||||
},
|
||||
{
|
||||
id: '4',
|
||||
name: 'Plinko',
|
||||
image: '/plinko.webp',
|
||||
route: '/game/plinko',
|
||||
},
|
||||
{
|
||||
id: '5',
|
||||
name: 'Liars Dice',
|
||||
image: '/liars-dice.webp',
|
||||
route: '/game/liars-dice',
|
||||
},
|
||||
{
|
||||
id: '6',
|
||||
name: 'Lootboxen',
|
||||
image: '/lootbox.webp',
|
||||
route: '/game/lootbox',
|
||||
},
|
||||
];
|
||||
|
||||
|
@ -83,4 +89,8 @@ export default class HomeComponent implements OnInit {
|
|||
closeDepositConfirmationModal() {
|
||||
this.isDepositSuccessful = false;
|
||||
}
|
||||
|
||||
navigateToGame(route: string) {
|
||||
this.router.navigate([route]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue