updated math
This commit is contained in:
parent
72150b070d
commit
5f9bf142b2
|
|
@ -311,6 +311,6 @@ export const game = {
|
|||
const { finished, stage } = serverGame;
|
||||
if (finished == 0) return 0;
|
||||
if (stage < 2) return 0;
|
||||
return Math.floor(Math.pow(2, stage * 0.9 + stage * 1.2));
|
||||
return Math.floor(Math.pow(2, stage * 0.92 + stage * 1.2));
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@ import {
|
|||
keepPreviousData,
|
||||
useInfiniteQuery,
|
||||
useMutation,
|
||||
UseMutationResult,
|
||||
type UseMutationResult,
|
||||
useQuery,
|
||||
useQueryClient,
|
||||
UseQueryResult,
|
||||
type UseQueryResult,
|
||||
} from "@tanstack/react-query";
|
||||
import { Routes } from "../backend/router";
|
||||
import type { Routes } from "../backend/router";
|
||||
import { wsClient } from "./wsClient";
|
||||
import type { z } from "zod";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Theme } from "./Theme";
|
||||
import type { Theme } from "./Theme";
|
||||
|
||||
export const romanceTheme: Theme = {
|
||||
size: 32,
|
||||
|
|
|
|||
|
|
@ -26,6 +26,11 @@ declare module "*&inline" {
|
|||
export default outputs;
|
||||
}
|
||||
|
||||
declare module "*.png" {
|
||||
const outputs: string;
|
||||
export default outputs;
|
||||
}
|
||||
|
||||
declare module "*?as=metadata" {
|
||||
const outputs: OutputMetadata[];
|
||||
export default outputs;
|
||||
|
|
|
|||
|
|
@ -24,5 +24,5 @@
|
|||
"noUnusedParameters": false,
|
||||
"noPropertyAccessFromIndexSignature": false
|
||||
},
|
||||
"include": ["vite.config.ts", "backend/**/*.ts"]
|
||||
"include": ["vite.config.ts", "backend/**/*.ts", "src", "backend"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue