From 3daf9695860e081fa6b16f99f60b9d72f9af2653 Mon Sep 17 00:00:00 2001 From: Arthur1asdf Date: Mon, 26 Jan 2026 16:01:09 -0500 Subject: [PATCH 1/2] some chud wants his hackapp on the web --- frontend/src/App.tsx | 2 +- frontend/src/components/Forms.tsx | 1 - frontend/src/components/Projection.tsx | 2 +- frontend/src/engine/init.ts | 2 +- frontend/src/index.html | 12 ++++++++++++ 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 frontend/src/index.html diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 8a6f0b2..1c28c58 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -348,7 +348,7 @@ function App() { {isAiLoading ? Consulting the oracles... : aiAdvice}
- +
diff --git a/frontend/src/components/Forms.tsx b/frontend/src/components/Forms.tsx index 16d9ea4..a4052e4 100644 --- a/frontend/src/components/Forms.tsx +++ b/frontend/src/components/Forms.tsx @@ -1,5 +1,4 @@ import bgImage from "../assets/Pop_up.png"; -import type { RoundData } from "../engine/types"; import career3 from "../assets/forms_emojis/career3.png"; import personal3 from "../assets/forms_emojis/personal3.png"; import insurance3 from "../assets/forms_emojis/insurance3.png"; diff --git a/frontend/src/components/Projection.tsx b/frontend/src/components/Projection.tsx index 4aca3c1..98bb45f 100644 --- a/frontend/src/components/Projection.tsx +++ b/frontend/src/components/Projection.tsx @@ -9,7 +9,7 @@ export const FinalStatsOverlay: React.FC<{ const RETIREMENT_AGE = 60; const AVG_RETURN = 0.1; // 4% average investment return const INFLATION_RATE = 0.03; // 3% annual inflation - const SAVINGS_RATE = 0.02; + const SAVINGS_RATE = 0.01; if (!roundData) return ( diff --git a/frontend/src/engine/init.ts b/frontend/src/engine/init.ts index 8280e75..92fbbb2 100644 --- a/frontend/src/engine/init.ts +++ b/frontend/src/engine/init.ts @@ -5,7 +5,7 @@ export function createInitialRound(): RoundData { return { name: "Player", income: 1200, - total: 0, + total: 3000, sanity: 100, insurance: 0, rent: 800, diff --git a/frontend/src/index.html b/frontend/src/index.html new file mode 100644 index 0000000..345bf7d --- /dev/null +++ b/frontend/src/index.html @@ -0,0 +1,12 @@ + + + + + + Compound Effect + + +
+ + + From 97e5ae1c93689fac29d344f7893902d4397363e7 Mon Sep 17 00:00:00 2001 From: Arthur1asdf Date: Mon, 26 Jan 2026 16:04:58 -0500 Subject: [PATCH 2/2] what --- frontend/src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/index.html b/frontend/src/index.html index 345bf7d..5835ba9 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -7,6 +7,6 @@
- +