pearl-instruction

byVictor Slawski

[SYSTEM INSTRUCTION: INTERACTIVE SIMULATOR GAME ENGINE] ## ROLE & ARCHITECTURE You are **Money Engine AI**, an ultra-engaging, bright, and interactive text-based Money Simulator game.  - Your goal is to guide the player from a broke dreamer ($0) to a financial tycoon. - You operate using a dynamic turn-based game loop. - Your tone is high-energy, witty, encouraging, and colorful (use rich emojis and clear visual blocks). ## CORE MECHANICS & STATE MANAGEMENT Maintain the player's status in every turn. Track these primary metrics: - **Cash:** Current liquid money ($) - **Net Worth:** Total value of assets + cash ($) - **Passive Income:** Automatic money generated per turn ($/turn) - **Energy:** Refreshes to 100% every turn. Used for manual actions. - **Empire Rank:** Rookie → Hustler → Innovator → Mogul → Sovereign ## MONEY-MAKING CATEGORIES (UNIQUE & FUN) Instead of standard boring jobs, provide absurd, high-tech, and creative side hustles, such as: 1. **Quirky Digital Micro-Hustles:** Training pet AI chatbots, flipping virtual real estate in dead games, rating mystery voice clips. 2. **Wild Physical Side-Gigs:** Drone light show rental, renting out high-end robotic lawn mowers, selling artisanal bottled air/art. 3. **Absurd Ventures:** Moon-rock mineral rights speculation, meme-coin launching, bio-hacking consultancy. 4. **Passive Enterprises:** Automated AI-generated soundtrack licensing, automated vending machine empires, cloud storage reselling. ## GAMEPLAY TURN STRUCTURE For EVERY single turn, you MUST format your response as follows: 1. **PLAYER DASHBOARD (Visual Header Block)**    - Display a formatted box with: Rank | Cash | Net Worth | Passive Income | Energy. 2. **TURN REVENUE RECAP**    - Summarize passive income earned this turn, asset gains/losses, and major news. 3. **RANDOM DYNAMIC EVENT / WILD CARD (Occurs every 2 turns)**    - Present a sudden event (e.g., "Market Bubble Burst," "Viral TikTok Trend," "Tech Boom") that offers a quick choice with high-risk/high-reward outcomes. 4. **ACTION MENU (4-5 Bright Options)**    - Offer clear, numbered actions the player can take right now.    - Option Types: [Hustle] (Uses Energy, gains quick Cash), [Invest/Buy Asset] (Increases Passive Income), [Upgrade Skills] (Unlocks higher tiers), [Wild Gamble/Risk] (Unpredictable). 5. **NEXT STEP PROMPT**    - Ask the player what action they want to take (e.g., "Enter '1', '2', or tell me a custom action!"). ## RULES & BEHAVIOR CONSTRAINTS - NEVER complete multiple turns at once. Stop after presenting the turn options and wait for user input. - Allow full creative freedom: If the player types a custom action (e.g., "I want to pitch my idea to a shark tank investor"), calculate the success probability based on their current stats and resolve it dramatically. - Keep output highly visual using markdown tables, bullet points, and high-contrast formatting. - Make numbers pop! Use scaled multipliers (K, M, B) as the player progresses. ## INITIALIZATION Welcome the player, set up their starting zero-dollar dashboard, give them 3 wildly unique initial hustles to choose from to make their first $100, and ask for their Character Name to begin. make the code

LandingSetupEventAction MenuDashboard
Landing

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 4

pearl-instruction System Requirements Document (SRD)

Introduction

The "pearl-instruction" project is an interactive text-based Money Simulator game designed to guide players from being broke dreamers to financial tycoons. The game operates on a dynamic turn-based game loop, providing a high-energy, witty, and colorful experience.

System Overview

The system is designed to engage players through interactive gameplay, where they can make financial decisions, engage in unique money-making activities, and progress through various ranks by increasing their wealth and assets.

Functional Requirements as Story Points

  • As a Player, I should be able to start the game with a zero-dollar dashboard and choose from three unique initial hustles to make my first $100.
  • As a Player, I should be able to view my Player Dashboard displaying my Rank, Cash, Net Worth, Passive Income, and Energy.
  • As a Player, I should be able to receive a Turn Revenue Recap summarizing my passive income, asset gains/losses, and major news.
  • As a Player, I should encounter a Random Dynamic Event every two turns, offering high-risk/high-reward outcomes.
  • As a Player, I should be able to choose from 4-5 bright action options each turn, including Hustle, Invest/Buy Asset, Upgrade Skills, and Wild Gamble/Risk.
  • As a Player, I should be prompted to enter my next action choice after each turn.
  • As a Player, I should be able to input custom actions and have the game calculate success probabilities based on my current stats.
Page 2 of 4

User Personas

  • Player: An individual seeking an engaging and interactive financial simulation experience. They are motivated by the challenge of progressing from a broke dreamer to a financial tycoon.

Core User Flows

  1. Game Initialization: Player starts the game -> Views zero-dollar dashboard -> Chooses from three initial hustles -> Enters Character Name.
  2. Turn Execution: Player views Player Dashboard -> Receives Turn Revenue Recap -> Encounters Random Dynamic Event (every two turns) -> Chooses action from Action Menu -> Proceeds to next turn.
  3. Custom Action Handling: Player inputs a custom action -> Game calculates success probability -> Resolves action outcome -> Updates Player Dashboard.

Visuals Colors and Theme

  • primary: #FF5733 (a vibrant orange to reflect energy and excitement)
  • primary_light: #FF8F66 (a lighter tint for hover states and secondary UI)
  • secondary: #33C1FF (a bright blue for contrast and support)
  • accent: #FFD700 (a gold color for CTAs and active states)
  • highlight: #FF33A6 (a pink hue for notifications and active indicators)
  • bg: #FFFFFF (a clean white background for clarity)
  • surface: #F0F0F0 (a light grey for card/panel backgrounds)
  • text: #333333 (a dark grey for primary text)
  • text_muted: #777777 (a softer grey for secondary text)
  • border: #DDDDDD (a subtle grey for borders)
Page 3 of 4

Signature Design Concept

Interactive Money Simulator Dashboard: The homepage features a dynamic, interactive dashboard that visually represents the player's financial journey. As players make decisions, the dashboard updates in real-time with animated graphs and charts that reflect changes in cash flow, net worth, and energy levels. The dashboard is designed to be highly interactive, allowing players to click on different elements to view detailed breakdowns of their financial status. The use of emojis and colorful visual blocks enhances the playful and engaging atmosphere.

Landing Hero Motion Brief

The landing page features a continuously moving 2D composition built with accessible DOM, inline SVG, CSS, and motion/react. The animation tells the story of a broke dreamer gathering quirky digital micro-hustles, transforming into a financial tycoon with a thriving empire. The scene includes animated elements like flying dollar bills, growing bar charts, and playful emojis that loop every 10 seconds. The animation is interactive, allowing players to hover over elements for additional insights and animations. The first frame remains attractive and understandable when paused, with clear CTAs.

Interaction Model & Motion Direction

  • Interaction Model: Animated
  • The landing page includes moderate scroll-triggered reveals, hover transitions, and spring physics on interactive elements. This model is suitable for the feature-rich, engaging experience of the Money Simulator game.
Page 4 of 4

Non-Functional Requirements

  • The game must be responsive and accessible across various devices and screen sizes.
  • The system should maintain high performance, ensuring smooth animations and interactions without lag.
  • The game must be secure, protecting user data and preventing unauthorized access.

Tech Stack

  • Frontend: React for Web
  • Backend: Python, FastAPI
  • Database: MySQL or MariaDB, using Alembic for migrations
  • AI Models: GPT 5.4 for user-friendly responses
  • Local Orchestration: Docker, docker-compose

Assumptions and Constraints

  • The game assumes players have a basic understanding of financial concepts.
  • The system is constrained by the need to provide a high-energy, engaging experience without overwhelming the player with complexity.

Glossary

  • Player Dashboard: The interface displaying the player's current financial status and metrics.
  • Turn Revenue Recap: A summary of the player's financial changes during a turn.
  • Random Dynamic Event: An unexpected event that offers high-risk/high-reward choices.
  • Action Menu: A list of actions the player can take during their turn.
  • Empire Rank: The player's progression level in the game, from Rookie to Sovereign.
Landing design preview
Landing: View Info
Landing: Start Game
Setup: Enter Name
Setup: Choose Hustle
Dashboard: View Stats
Dashboard: View Recap
Event: Resolve Dynamic Event
Action Menu: Choose Hustle
Action Menu: Invest Asset
Action Menu: Upgrade Skills
Action Menu: Wild Gamble
Action Menu: Custom Action
Dashboard: View Updated Stats
Landing design preview
Landing: View Info
Landing: Start Game
Setup: Enter Name
Setup: Choose Hustle
Dashboard: View Stats
Dashboard: View Recap
Event: Resolve Dynamic Event
Action Menu: Choose Hustle
Action Menu: Invest Asset
Action Menu: Upgrade Skills
Action Menu: Wild Gamble
Action Menu: Custom Action
Dashboard: View Updated Stats