diff --git a/src/Infiltration/ui/Game.tsx b/src/Infiltration/ui/Game.tsx index eb5be4ec9..f9834ba83 100644 --- a/src/Infiltration/ui/Game.tsx +++ b/src/Infiltration/ui/Game.tsx @@ -1,19 +1,17 @@ -import { use } from "../../ui/Context"; +import { Button, Container, Paper, Typography } from "@mui/material"; 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"; +import { AugmentationNames } from "../../Augmentation/data/AugmentationNames"; +import { use } from "../../ui/Context"; import { BackwardGame } from "./BackwardGame"; +import { BracketGame } from "./BracketGame"; import { BribeGame } from "./BribeGame"; import { CheatCodeGame } from "./CheatCodeGame"; +import { Countdown } from "./Countdown"; import { Cyberpunk2077Game } from "./Cyberpunk2077Game"; import { MinesweeperGame } from "./MinesweeperGame"; -import { WireCuttingGame } from "./WireCuttingGame"; +import { SlashGame } from "./SlashGame"; import { Victory } from "./Victory"; -import Typography from "@mui/material/Typography"; -import { AugmentationNames } from "../../Augmentation/data/AugmentationNames"; +import { WireCuttingGame } from "./WireCuttingGame"; interface IProps { StartingDifficulty: number; @@ -113,7 +111,7 @@ export function Game(props: IProps): React.ReactElement { stageComponent = setStage(Stage.Minigame)} />; break; case Stage.Minigame: { - const MiniGame = minigames[gameIds.id]; + const MiniGame = SlashGame; // minigames[gameIds.id]; stageComponent = ; break; } @@ -139,22 +137,18 @@ export function Game(props: IProps): React.ReactElement { } return ( - <> - - - - - - - Level: {level} / {props.MaxLevel} - - - + + + + + Level {level} / {props.MaxLevel} + + + - - {stageComponent} - - - + {stageComponent} + ); }