diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index 39c5b1c..b8adc5f 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -61,4 +61,9 @@ export const routes: Routes = [ loadComponent: () => import('./feature/lootboxes/lootbox-opening/lootbox-opening.component'), canActivate: [authGuard], }, + { + path: 'game/dice', + loadComponent: () => import('./feature/game/dice/dice.component').then((m) => m.DiceComponent), + canActivate: [authGuard], + }, ]; diff --git a/frontend/src/app/feature/game/dice/dice.component.html b/frontend/src/app/feature/game/dice/dice.component.html new file mode 100644 index 0000000..5cc7a0e --- /dev/null +++ b/frontend/src/app/feature/game/dice/dice.component.html @@ -0,0 +1,121 @@ +
+ You Won! Payout: {{ payout() | currency: 'EUR' : 'symbol' : '1.2-2' }} +
+ } @else { +You Lost.
+ } +