diff --git a/src/Infiltration/ui/Game.tsx b/src/Infiltration/ui/Game.tsx index beaf595c3..b0daa37d4 100644 --- a/src/Infiltration/ui/Game.tsx +++ b/src/Infiltration/ui/Game.tsx @@ -1,6 +1,7 @@ import { use } from "../../ui/Context"; import React, { useState } from "react"; import Grid from "@mui/material/Grid"; +import Button from "@mui/material/Button"; import { Countdown } from "./Countdown"; import { BracketGame } from "./BracketGame"; import { SlashGame } from "./SlashGame"; @@ -98,6 +99,11 @@ export function Game(props: IProps): React.ReactElement { setupNextGame(); } + function cancel(): void { + router.toCity(); + return; + } + let stageComponent: React.ReactNode; switch (stage) { case Stage.Countdown: @@ -132,6 +138,9 @@ export function Game(props: IProps): React.ReactElement { return ( <> + + + Level: {level} / {props.MaxLevel}