Published using Google Docs
Game Design Document: StockUp
Updated automatically every 5 minutes

Game Design Document: StockUp

Game Title: StockUp


1. Game Overview

Genre: Fantasy Stock Market
Platform: Mobile (iOS, Android)
Target Audience: Adults aged 18-40 interested in finance, trading, and fantasy sports.

Game Description:
StockUp is a fantasy stock market game where players create portfolios of stocks, similar to fantasy sports teams. Players earn points based on the real-time performance of the stocks they select. Compete in daily or weekly leagues, strategize your picks, and aim for the top of the leaderboard to win prizes. Whether you're a finance enthusiast or a fantasy sports fan, StockUp offers an exciting blend of strategy, competition, and rewards in the world of stock trading.

2. Game Mechanics

2.1 User Onboarding

This onboarding process ensures security, legal compliance, and user awareness of the game's terms and conditions.

2.2 Core Loop

The core loop of StockUp is designed to engage players in the continuous cycle of selecting stocks, monitoring their performance, earning points, and competing on the leaderboard. This cycle is at the heart of the gameplay and encourages players to stay active, refine their strategies, and aim for the top of the leaderboard.

  1. Select Stocks
  1. Monitor Performance
  1. Earn Points
  1. Leaderboard

2.3 StockUp Wallet

The Wallet Page provides a comprehensive view of your financial status in the game, making it easy to manage your funds and track your progress, with a special bonus for first-time users.

2.4 Currency System

2.5 Profile Page

2.6 Leagues

Leagues are the primary competitive structure in StockUp, providing players with opportunities to test their stock-picking strategies against others in both short-term and long-term formats.

  1. Daily Leagues
  1. Weekly Leagues
  1. League Entry and Prizes

2.7 Scoring System

The scoring system in StockUp is designed to reward players based on the real-time performance of their selected stocks, with bonuses and multipliers for particularly strategic decisions.

  1. Performance Points
  1. Bonus Points
  1. Leaderboard Rankings

2.8 Statistics and Achievement

Player Statistics

Player statistics in StockUp are designed to provide insights into the player's performance and help them refine their strategy over time. These statistics track both individual and league-wide metrics, offering players a detailed overview of their success and areas for improvement.

  1. Total Points Earned: Tracks cumulative points across all leagues.
  2. League Wins: Counts total number of league victories.
  3. Best Daily Performance: Records highest single-day performance.
  4. Super Stock Performance: Measures the performance of the player’s selected Super Stocks.
  5. Stock Diversity Index: Reflects the variety of stocks chosen across different sectors.

Achievements

Achievements in StockUp are designed to reward players for their accomplishments, creativity, and expertise in stock-picking. These achievements have quirky, finance-themed names and are awarded for reaching specific milestones within the game. Each achievement unlocks unique rewards, badges, and titles.

  1. "Bull Market Boss"
  1. "Blue Chip Champ"
  1. "Day Trader Dynamo"
  1. "The Oracle of StockUp"
  1. "Contrarian King/Queen"

2.9 Education Channel

The Education Page in StockUp serves as a dedicated hub for players to enhance their knowledge of the stock market, trading strategies, and financial concepts. This section features a blend of courses, articles, and blogs to help both beginners and advanced players improve their skills and understanding of the financial world. The content is designed to offer valuable insights, with a freemium model that caters to a wide range of users.

Courses

  1. Course Structure
    The courses are organized into categories based on the level of difficulty and the topics covered. Each course is interactive and includes videos, quizzes, and real-world examples to reinforce learning. Topics range from beginner concepts to more advanced trading strategies.
  1. Freemium Model

Blogs

The blog section of the Education Page is updated regularly with articles written by financial experts and seasoned traders. These blogs cover a wide array of topics, from market news and trends to personal finance tips and investment strategies.

  1. Content Categories:
  1. Interactive Features:
    Players can comment on blog posts, engage in discussions, and even share their own insights or ask questions. This creates a community-driven learning experience, where users can learn from both experts and peers.

Benefits of the Education Page

  1. Enhances In-Game Performance:
    The education courses and blogs directly tie into gameplay, as the more players understand the market, the better their stock picks and portfolio performance can become. Learning advanced strategies can give players a competitive edge in leagues.
  2. Bridges Real-World Learning:
    The knowledge gained on the Education Page not only helps in the game but also offers valuable real-world skills for those interested in stock trading and personal finance.
  3. Accessible for All Skill Levels:
    With both free and premium options, the Education Page ensures that users at all levels of financial literacy can access useful information, whether they are just starting out or looking to refine advanced strategies.

3. Backend

3.1 Formulas

Winning Formula:

Variables:


Formula Breakdown:

1. Total Entry Fees:

2. Company Profit:

3. Prize Pool:

4. Number of Winners (Top X Percentile):

This will give the total number of winners who will receive a portion of the prize pool.

5. Skewed Distribution for Top 3 Places:

The top 3 winners receive a significant portion of the prize pool based on predefined skew factors.

6. Remaining Prize Pool (for Other Winners):

After awarding the top 3 winners, the remaining prize pool is calculated:

Remaining Prize Pool = Prize Pool − (1st Place Prize + 2nd Place Prize + 3rd Place Prize)

7. Dynamic Scaling of Prizes:

To scale the prize distribution dynamically, apply a scaling factor to adjust for the actual number of participants in the league. This scaling factor ensures the prize pool remains proportional regardless of the league size.

Define a Scaling Factor (SF):

This scaling factor represents the ratio of actual participants to the maximum capacity. The prize pool is scaled accordingly to maintain proportionality for larger or smaller leagues.

8. Capped Distribution for Remaining Winners:

The remaining prize pool is distributed among the other winners, with a cap on the maximum prize per player to avoid overly large payouts for lower-ranked winners.

  1. Prize per Remaining Winner (Before Cap):

  1. Apply Prize Pool Cap: If the prize per remaining winner exceeds the cap, limit the prize to the predefined cap. Otherwise, distribute the prize as calculated.

9. Adjust Remaining Prize Pool (If Capped):

If the cap is applied and there is leftover money in the remaining prize pool, this amount can either be redistributed among the top 3 winners or rolled over to the next league.

3.2 Databases

To build a game like StockUp, which is a fantasy stock market game, you’ll need various databases to store and manage the different aspects of the game, such as user data, stock market data, league data, and transaction history. Below are the key databases and their functions:

1. User Database

This database stores all the user-related data.

2. Portfolio Database

This database stores information related to the portfolios that users create.

3. Stock Market Data Database

This database stores real-time and historical stock data.

4. League Database

This database stores all league-related data, including both daily and weekly leagues.

5. Transaction Database

This database stores all the financial transactions within the game, including user deposits, prize distributions, and coin purchases.

6. Leaderboard and Achievements Database

This database tracks leaderboard rankings and achievements for each user.

7. Education & Content Database

This database stores the educational content, blogs, and course information available to users.

8. Analytics Database

This database is used to store various analytics for user behaviour, game performance, and financial insights.

9. Notification Database

This database handles all user notifications for events, game updates, and achievements.

3.2 APIs and Tech

Technology

APIs