diff --git a/backend/entities/game.ts b/backend/entities/game.ts index e59386f..b469140 100644 --- a/backend/entities/game.ts +++ b/backend/entities/game.ts @@ -54,7 +54,7 @@ const expandBoard = (serverGame: ServerGame) => { } // Expand the board by the current board size 8x8 -> 16x8 if (dir === "down") { - const newHeight = Math.floor(Math.min(height + 6, height * 1.5)); + const newHeight = Math.floor(Math.min(height + 7, height * 1.5)); const newWidth = width; const newMinesCount = Math.floor( width * height * 0.5 * (0.2 + 0.0015 * stage), @@ -112,7 +112,7 @@ const expandBoard = (serverGame: ServerGame) => { }); } if (dir === "right") { - const newWidth = Math.floor(Math.min(width + 6, width * 1.5)); + const newWidth = Math.floor(Math.min(width + 7, width * 1.5)); const newHeight = height; const newMinesCount = Math.floor( width * height * 0.5 * (0.2 + 0.0015 * stage), diff --git a/src/Shell.tsx b/src/Shell.tsx index 39feadf..f7e10a2 100644 --- a/src/Shell.tsx +++ b/src/Shell.tsx @@ -9,6 +9,7 @@ import { Menu, Play, Settings, + Store, } from "lucide-react"; import Hr from "./components/Hr"; import NavLink from "./components/NavLink"; @@ -75,6 +76,10 @@ const Shell: React.FC = ({ children }) => { History + + + Store + Collection NEW diff --git a/src/main.tsx b/src/main.tsx index 3dc3760..6564ed3 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -13,6 +13,7 @@ import Settings from "./views/settings/Settings.tsx"; import MatchHistory from "./views/match-history/MatchHistory.tsx"; import Collection from "./views/collection/Collection.tsx"; import { AnimatePresence } from "framer-motion"; +import Store from "./views/store/Store.tsx"; const setup = async () => { const token = localStorage.getItem("loginToken"); @@ -42,6 +43,7 @@ setup().then(() => { + diff --git a/src/views/store/Store.tsx b/src/views/store/Store.tsx new file mode 100644 index 0000000..38d0a0b --- /dev/null +++ b/src/views/store/Store.tsx @@ -0,0 +1,14 @@ +const Store = () => { + return ( +
+

Store

+
+
+

Lootboxes

+
+
+
+ ); +}; + +export default Store;