Skip to content

Add skill trees, achievements, statistics, and rebalanced progression#35

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/update-game-logic-for-progression
Draft

Add skill trees, achievements, statistics, and rebalanced progression#35
Copilot wants to merge 3 commits intomainfrom
copilot/update-game-logic-for-progression

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 1, 2026

Implements slower, more strategic progression with skill trees, achievements, and comprehensive statistics tracking. Addresses issue #30 requirement for skill trees and statistics.

Changes

Skill Tree System

  • 3 skill paths (Click, Idle, Economy) with 9 upgradeable skills
  • Prerequisite chains require sequential unlocking within paths
  • Skill points earned via achievements and rebirths
  • Multiplicative bonuses: +5-25% per level to click power, auto clickers, conversion rate, or crate discounts

Achievement System

  • 13 achievements across clicks, cash, upgrades, and special categories
  • Real-time progress tracking with visual bars
  • Rewards: 1-10 skill points per achievement unlock

Statistics Tracking

  • 9 lifetime stats: total clicks, cash earned, upgrades purchased, rebirths, play time, and peak values
  • Persisted with game state, auto-updating during gameplay

Progression Rebalancing

  • Expanded from 8 to 13 shop upgrades with intermediate tiers
  • Increased base costs (15% average) and adjusted scaling for extended gameplay
  • New upgrades: Enhanced Cursor, Helper Bot, Small Factory, Laboratory, Portal

UI

  • Top bar adds Skills, Achievements, Stats buttons
  • Skill Points display in header stats
  • Three new modals with category-organized layouts

Technical Details

Skill modifiers apply multiplicatively:

const prestigeMultiplier = 1 + (prestigeCurrency * 0.01);
const skillMultiplier = 1 + skillModifiers.clickPowerBonus;
const effectiveClickPower = Math.floor(clickPower * prestigeMultiplier * skillMultiplier);

Achievement progress auto-updates via statistics tracking:

const checkAchievements = useCallback(() => {
  setAchievements(prevAchievements => {
    return prevAchievements.map(achievement => {
      let currentProgress = /* match stat to achievement type */;
      if (currentProgress >= achievement.maxProgress && !achievement.unlocked) {
        // Grant skill points and notify
      }
      return { ...achievement, progress: currentProgress };
    });
  });
}, [statistics]);

Screenshots

Main UI with new features
Main Page

Skill Tree - 3 paths with prerequisite chains
Skill Tree

Achievements - Progress tracking with rewards
Achievements

Statistics - Lifetime gameplay metrics
Statistics

Shop - Rebalanced 13 upgrades
Shop

Original prompt

This section details on the original issue you should resolve

<issue_title>Fix game logic to allow more immersive gameplay and longer progression</issue_title>
<issue_description>Update the game logic to allow for slower game progression by adding things like skill trees (#30), achievements, upgrades, and items in the shop, as well as new game mechanics.</issue_description>

Comments on the Issue (you are @copilot in this section)

@mixtapejaxson #30

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mix-click Ready Ready Preview, Comment Feb 1, 2026 9:58pm

…r slower progression

Co-authored-by: mixtapejaxson <79427951+mixtapejaxson@users.noreply.github.com>
…sses

Co-authored-by: mixtapejaxson <79427951+mixtapejaxson@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix game logic for immersive gameplay and longer progression Add skill trees, achievements, statistics, and rebalanced progression Feb 1, 2026
Copilot AI requested a review from mixtapejaxson February 1, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix game logic to allow more immersive gameplay and longer progression

2 participants