Penny’s Pocket Town - Finance Fun for Kids
About this app
Learn money basics by running a lemonade stand, saving in your piggy bank, and spending wisely in Penny's Pocket Town!
Wealth Saga: The Trillionaire's Path CONNECTING TO BLOOMBERG TERMINAL... WEALTH SAGA CYCLE 1 / 300 Net Liquidity $1,000 Alpha Multiplier x1.00 🌱 Social Standing Garage Founder OPPORTUNITY 💼 The world is waiting for your first move. How will you scale your vision? Conservative Aggressive 🎉 RESULT Details here... NEXT CYCLE FORCE RESTART | NO REFUNDS | DATA PERSISTS IN CACHE
Put this on your site
Source
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>Wealth Saga: The Trillionaire's Path</title>
<meta name="description" content="A 300-level deep simulation of wealth, power, and high-stakes decision making.">
<meta name="keywords" content="tycoon, business game, simulator, money, investing, crypto, 300 levels">
<!-- External Libraries -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;700&family=Bungee+Spice&family=Space+Grotesk:wght@300;700&family=Titan+One&family=DM+Serif+Display&display=swap" rel="stylesheet">
<style>
:root {
--neon-green: #2ecc71;
--gold: #f1c40f;
--ruby: #e74c3c;
--royal: #8e44ad;
--dark: #0c0d10;
--card-bg: #1a1c23;
--ocean: #3498db;
}
body {
background: var(--dark);
font-family: 'Space Grotesk', sans-serif;
color: #ffffff;
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
overflow: hidden;
}
#app-shell {
width: 100%;
max-width: 500px;
background: #121417;
display: flex;
flex-direction: column;
position: relative;
border-left: 1px solid #333;
border-right: 1px solid #333;
}
.top-nav {
padding: 15px;
background: linear-gradient(to bottom, #1e272e, transparent);
text-align: center;
}
.brand {
font-family: 'Titan One', cursive;
font-size: 1.5rem;
color: var(--gold);
text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
letter-spacing: 1px;
}
.stat-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
padding: 0 15px;
}
.stat-pill {
background: rgba(255,255,255,0.05);
border-radius: 12px;
padding: 10px;
border: 1px solid rgba(255,255,255,0.1);
transition: all 0.3s ease;
}
.stat-label { font-size: 0.65rem; color: #888; text-transform: uppercase; display: block; margin-bottom: 2px; }
.stat-val { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1rem; color: var(--neon-green); }
#scenario-container {
flex: 1;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
overflow-y: auto;
}
.scenario-card {
background: var(--card-bg);
border-radius: 30px;
padding: 30px 20px;
text-align: center;
border: 2px solid rgba(255,255,255,0.05);
box-shadow: 0 20px 40px rgba(0,0,0,0.5);
min-height: 400px;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
overflow: hidden;
}
.emoji-hero {
font-size: 4.5rem;
margin-bottom: 20px;
filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
display: block;
}
.day-counter {
font-family: 'Bungee Spice', cursive;
font-size: 1.2rem;
margin-bottom: 5px;
}
.scenario-text {
font-size: 1.1rem;
line-height: 1.4;
margin-bottom: 25px;
color: #dfe6e9;
font-weight: 300;
}
.choice-group {
display: flex;
flex-direction: column;
gap: 12px;
}
.btn-action {
border: none;
border-radius: 15px;
padding: 16px;
font-weight: 700;
font-size: 0.9rem;
transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
text-transform: uppercase;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.btn-safe { background: #34495e; color: white; box-shadow: 0 4px 0 #2c3e50; }
.btn-risky { background: var(--royal); color: white; box-shadow: 0 4px 0 #702fa0; }
.btn-action:active { transform: translateY(3px); box-shadow: none; }
.progress-track {
height: 4px;
background: #222;
width: 100%;
}
.progress-fill {
height: 100%;
background: var(--gold);
width: 0%;
transition: width 0.5s;
}
.modal-overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.95);
backdrop-filter: blur(10px);
z-index: 2000;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 30px;
text-align: center;
}
#ticker-bar {
background: #000;
color: var(--neon-green);
font-family: 'Space Grotesk', monospace;
padding: 5px;
font-size: 0.7rem;
overflow: hidden;
white-space: nowrap;
border-bottom: 1px solid #222;
}
.history-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
margin: 0 2px;
background: #444;
}
.history-dot.win { background: var(--neon-green); box-shadow: 0 0 5px var(--neon-green); }
.history-dot.loss { background: var(--ruby); box-shadow: 0 0 5px var(--ruby); }
.history-dot.neutral { background: var(--ocean); }
#status-icon-box {
font-size: 1.2rem;
margin-right: 5px;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.rank-up {
animation: pulse 0.5s infinite;
}
</style>
<script type="text/javascript">
let state = {
day: 1,
cash: 1000,
multiplier: 1.0,
luck: 0.5,
history: [],
status: "Garage Founder",
statusIcon: "🌱"
};
const THEMES = [
{ type: "Investment", icons: ["📈", "💰", "💎", "🏢", "🪙"], safe: "Diversify", risky: "All In" },
{ type: "Crisis", icons: ["🔥", "📉", "⛈️", "🦠", "🕵️"], safe: "Hedge Risk", risky: "Buy Dip" },
{ type: "Innovation", icons: ["🚀", "🤖", "⚡", "🧬", "🧠"], safe: "Beta Test", risky: "Launch 1.0" },
{ type: "Lifestyle", icons: ["🥂", "艇", "🏰", "🏎️", "🏌️"], safe: "Savings", risky: "Vegas Baby" },
{ type: "Legal", icons: ["⚖️", "📜", "💼", "🏢", "🏛️"], safe: "Comply", risky: "Bribery" }
];
const ENTITIES = ["The Fed", "A Crypto Whale", "Elon's Clone", "A Mars Colony", "DeepMind 2.0", "The Dark Web", "Swiss Bankers", "Tax Authority", "AI Overlords", "Metaverse CEO"];
const ACTIONS = ["demands a cut", "hacks your vault", "leaks your emails", "invents cold fusion", "rigs the market", "pumps a memecoin", "declares bankruptcy", "is suing everyone"];
function saveLocal() {
localStorage.setItem('wealth_saga_state_v2', JSON.stringify(state));
}
function loadLocal() {
const saved = localStorage.getItem('wealth_saga_state_v2');
if (saved) state = JSON.parse(saved);
}
function formatCash(num) {
const isNeg = num < 0;
num = Math.abs(num);
let val = "";
if (num >= 1e12) val = (num / 1e12).toFixed(2) + 'T';
else if (num >= 1e9) val = (num / 1e9).toFixed(2) + 'B';
else if (num >= 1e6) val = (num / 1e6).toFixed(2) + 'M';
else if (num >= 1e3) val = (num / 1e3).toFixed(1) + 'K';
else val = Math.floor(num).toString();
return (isNeg ? "-$" : "$") + val;
}
function getScenario() {
const themeIdx = (state.day * 17) % THEMES.length;
const entIdx = (state.day * 11) % ENTITIES.length;
const actIdx = (state.day * 3) % ACTIONS.length;
const theme = THEMES[themeIdx];
const icon = theme.icons[state.day % theme.icons.length];
const entity = ENTITIES[entIdx];
const action = ACTIONS[actIdx];
const baseAmount = 250 * Math.pow(1.075, state.day);
return {
day: state.day,
icon: icon,
type: theme.type,
title: `${entity} ${action}.`,
safeAction: theme.safe,
riskyAction: theme.risky,
amounts: {
safeGain: baseAmount * 0.15,
riskyGain: baseAmount * 2.2,
riskyLoss: baseAmount * 1.8
}
};
}
function makeChoice(isRisky) {
const current = getScenario();
let success = true;
let change = 0;
let report = "";
if (isRisky) {
success = Math.random() < (state.luck + 0.05);
if (success) {
change = current.amounts.riskyGain * state.multiplier;
state.multiplier += 0.08;
report = `MASSIVE WIN! You captured ${formatCash(change)}!`;
state.history.push('win');
} else {
change = -current.amounts.riskyLoss;
state.multiplier = Math.max(1.0, state.multiplier - 0.15);
report = `CRITICAL FAILURE! Lost ${formatCash(Math.abs(change))}.`;
state.history.push('loss');
}
} else {
change = current.amounts.safeGain * state.multiplier;
report = `Steady growth achieved. Gained ${formatCash(change)}.`;
state.history.push('neutral');
}
state.cash += change;
state.day++;
showFeedback(success ? "SUCCESS" : "FAILURE", report, success ? "🔥" : "💀");
updateUI();
saveLocal();
}
function showFeedback(status, text, emoji) {
$('#feedback-emoji').text(emoji);
$('#feedback-title').text(status).css('color', status === 'SUCCESS' ? 'var(--neon-green)' : 'var(--ruby)');
$('#feedback-text').text(text);
$('#overlay').fadeIn(150).css('display', 'flex');
}
function closeFeedback() {
$('#overlay').fadeOut(150);
if (state.day > 300) endGame();
if (state.cash < -5000) {
alert("BANKRUPTCY! You were liquidated.");
resetGame();
}
}
function updateUI() {
$('#stat-cash').text(`${formatCash(state.cash)}`);
$('#stat-mult').text(`x${state.multiplier.toFixed(2)}`);
$('#day-label').text(`CYCLE ${state.day} / 300`);
$('.progress-fill').css('width', `${(state.day/300)*100}%`);
// Dynamic Status & Varying Icons
let oldStatus = state.status;
if (state.cash > 1000000000000) {
state.status = "Intergalactic Overlord";
state.statusIcon = "🛸";
} else if (state.cash > 1000000000) {
state.status = "World-Class Tycoon";
state.statusIcon = "🏰";
} else if (state.cash > 100000000) {
state.status = "Private Jet Tier";
state.statusIcon = "🛩️";
} else if (state.cash > 10000000) {
state.status = "Fortune 500 CEO";
state.statusIcon = "👔";
} else if (state.cash > 1000000) {
state.status = "Angel Investor";
state.statusIcon = "👼";
} else if (state.cash > 100000) {
state.status = "High Roller";
state.statusIcon = "🎰";
} else if (state.cash > 10000) {
state.status = "Series A Founder";
state.statusIcon = "💼";
} else {
state.status = "Garage Founder";
state.statusIcon = "🌱";
}
$('#status-icon-box').text(state.statusIcon);
$('#stat-status').text(state.status);
if (oldStatus !== state.status) {
$('#stat-status-pill').addClass('animate__animated animate__bounceIn rank-up');
setTimeout(() => $('#stat-status-pill').removeClass('rank-up'), 2000);
}
const scenario = getScenario();
$('#scenario-card').addClass('animate__animated animate__fadeInUp');
$('#scenario-icon').text(scenario.icon);
$('#scenario-type').text(scenario.type);
$('#scenario-desc').text(scenario.title);
$('#btn-safe-text').text(scenario.safeAction);
$('#btn-risky-text').text(scenario.riskyAction);
setTimeout(() => $('#scenario-card').removeClass('animate__animated animate__fadeInUp'), 500);
const historyBox = $('#history-bar').empty();
state.history.slice(-35).forEach(h => {
historyBox.append(`<div class="history-dot ${h}"></div>`);
});
}
function resetGame() {
state = { day: 1, cash: 1000, multiplier: 1.0, luck: 0.5, history: [], status: "Garage Founder", statusIcon: "🌱" };
saveLocal();
location.reload();
}
function endGame() {
$('#scenario-container').html(`
<div class="scenario-card animate__animated animate__zoomIn" style="border-color: var(--gold)">
<span class="emoji-hero">👑</span>
<h2 class="day-counter">LEGACY SECURED</h2>
<p class="scenario-text">After 300 cycles, you conquered the financial world with a net worth of <strong>${formatCash(state.cash)}</strong>.</p>
<p>Your Final Rank:<br><span style="font-size: 2rem; color: var(--gold)">${state.statusIcon} ${state.status}</span></p>
<button class="btn-action btn-risky" onclick="resetGame()">BEGIN NEW DYNASTY</button>
</div>
`);
}
$(document).ready(() => {
loadLocal();
updateUI();
setInterval(() => {
const tickers = [
"CRPRT EARNINGS BEAT EXPECTATIONS", "OIL FUTURES SLIDING...", "TECH GIANTS UNDER FIRE", "MARS REAL ESTATE PUMPING", "MEME COINS DOWN 99%", "FEDERAL RESERVE HIKES RATES", "QUANTUM COMPUTING BREAKTHROUGH"
];
$('#ticker-bar').text(`MARKET DATA: ${tickers[Math.floor(Math.random()*tickers.length)]}`);
}, 4000);
});
</script>
</head>
<body>
<div id="app-shell">
<div id="ticker-bar">CONNECTING TO BLOOMBERG TERMINAL...</div>
<div class="top-nav">
<div class="brand">WEALTH SAGA</div>
<div class="day-counter" id="day-label">CYCLE 1 / 300</div>
<div id="history-bar"></div>
</div>
<div class="stat-grid">
<div class="stat-pill">
<span class="stat-label">Net Liquidity</span>
<span class="stat-val" id="stat-cash">$1,000</span>
</div>
<div class="stat-pill">
<span class="stat-label">Alpha Multiplier</span>
<span class="stat-val" id="stat-mult">x1.00</span>
</div>
<div class="stat-pill" style="grid-column: span 2; display: flex; align-items: center;" id="stat-status-pill">
<div id="status-icon-box">🌱</div>
<div style="flex-grow: 1;">
<span class="stat-label">Social Standing</span>
<span class="stat-val" id="stat-status" style="color: var(--gold);">Garage Founder</span>
</div>
</div>
</div>
<div class="progress-track mt-3">
<div class="progress-fill"></div>
</div>
<div id="scenario-container">
<div class="scenario-card" id="scenario-card">
<div>
<div id="scenario-type" style="color: #555; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;">OPPORTUNITY</div>
<span id="scenario-icon" class="emoji-hero">💼</span>
<div id="scenario-desc" class="scenario-text">The world is waiting for your first move. How will you scale your vision?</div>
</div>
<div class="choice-group">
<button class="btn-action btn-safe" onclick="makeChoice(false)">
<i class="fa-solid fa-shield-halved"></i> <span id="btn-safe-text">Conservative</span>
</button>
<button class="btn-action btn-risky" onclick="makeChoice(true)">
<i class="fa-solid fa-fire-glow"></i> <span id="btn-risky-text">Aggressive</span>
</button>
</div>
</div>
</div>
<div class="modal-overlay" id="overlay">
<span id="feedback-emoji" class="emoji-hero">🎉</span>
<h1 id="feedback-title" style="font-family: 'Titan One'; text-transform: uppercase;">RESULT</h1>
<p id="feedback-text" style="font-size: 1.2rem; margin: 20px 0;">Details here...</p>
<button class="btn-action btn-safe" onclick="closeFeedback()" style="min-width: 200px;">NEXT CYCLE</button>
</div>
<div class="footer p-2 text-center" style="font-size: 0.6rem; opacity: 0.5;">
<span onclick="if(confirm('Wipe all progress?')) resetGame()" style="cursor: pointer;">FORCE RESTART</span> | NO REFUNDS | DATA PERSISTS IN CACHE
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!