Skip to content

Latest commit

 

History

History
216 lines (179 loc) · 15.4 KB

guide.md

File metadata and controls

216 lines (179 loc) · 15.4 KB

clicks: playing guide

for version 0.26.x

Note: for clarity, game variables and terminology will be formatted like this whenever possible.


I. Game Mechanics

a. Defining Terms

  • Clicks are the main currency of the game, generated passively.
  • These Clicks are packaged into packs when a certain threshold is reached (clicks per pack).
  • Money is the secondary currency of the game, which is earned primarily by packaging Clicks into Packs. Money can be used to purchase two types of modifiers:
    • Upgrades, which linearly modify existing game variables; and
    • Mods, which introduce new mechanics that affect the game.
  • A tick is a unit of time in the game equal to 1 second, during which game mechanics and variables are updated.
  • Prestige is a game mechanic that allows you to reset your game progress in exchange for a permanent stat bonus.
    • Each time you increase your Prestige (also called Eminence), you receive a permanent multiplier on rewards you earn
    • Prestige level can be increased up to 100 ("Eminence C")
    • This mechanic is still being testing and may change somewhat before release.
These mechanics will be described in more detail or elaborated upon as necessary throughout the rest of guide.

b. Overview

Clicks is a game in which the currency clicks are passively generated. These clicks are packaged into packs when they reach a certain amount in exchange for money, which in turn can be used to purchase upgrades and mods affecting nearly every aspect of the game, including the speed of generating clicks, the amount of money rewarded for packs, and the number of clicks required to create a pack.

c. Game State Variables

These variables track the game state and cannot be directly modified by the player. They are updated every tick.

  • clicks measures the number of unpackaged clicks you have accumulated.
    • clicksTotal measures the total number of clicks generated during your current run
  • money measures the amount of unspent money you currently have.
    • moneyTotal measures the total amount of money you have earned during the run, including money you have spent.
  • prestige, or alternately eminence, measures the number of times you have reset your game progress in exchange for a permanent stat bonus.
    • Eminence C (100) is the maximum prestige level
  • bonusIntvProg measures your progress towards the next bonus reward, which is rewarded every bonusIntv packs packaged (20 by default).
    • bonusIntvProg resets to 0 each time a bonus is awarded
  • clicksMin and clicksMax display the minimum and maximum number of clicks that can be generated each tick, respectively.
  • packaged measures the number of times you have packaged a set of clicks.
  • ticksElapsed measures the number of ticks that have passed since the game began.
Game upgrades are listed and explained under Game Actions (II.b)

d. Game parameters

These variables can be directly modified as upgrades or mods

  • baseClickAmt is the base number of clicks generated each tick.
    • This value is modified each tick by uncertainty, another game parameter
    • This value is directly modified by the "base clicks" upgrade
  • clicksPerPack is the target number of clicks required to create a pack.
    • This value is directly modified by the "clicks per pack" upgrade
  • subticks is the number of ticks operations that are performed each tick (second). Basically, this is the number of ticks run every second. More subticks means clicks are generated faster
    • This value is directly modified by the "subticks" upgrade
  • baseReward is the amount of money rewarded for a perfect package (one with exactly as many clicks as clicksPerPack).
    • This value can be affected by the packaging penalty, uncertainty, and prestige
    • This value is directly modified by the "base reward" upgrade
  • bonusRewardInterval is the number of successful packages elapsed before the bonus multiplier bonusScaleAmt is applied to the next pack's base reward.
    • This value is directly modified by the "bonus interval" upgrade
  • bonusScaleAmt is the multiplier applied to baseReward for each bonus package
    • This value is directly modified by the "bonus multiplier" upgrade
  • uncertMin is the lower limit of the game-wide uncertainty value, which affects various aspects of generation, including bonus calculation and click generation.
    • For bonus and reward calculations, uncertMin may be interpreted as 1 if it would otherwise be less than 1 in order for the resulting value to act as a bonus multiplier
    • The value of uncertainty is recalculated within the set generation parameters before every use
    • This value is directly modified by the "uncertainty floor" upgrade
  • uncertMax is the upper limit of the game-wide uncertainty value
    • The value of uncertainty is recalculated within the set generation parameters before every use
    • This value is directly modified by the "uncertainty limit" upgrade
  • fuzzyRange is the range in which the value of clicks is considered for packaging.
    • As soon as the number of clicks acquired enters the packaging range (between clicksPerPack - fuzzyRange and fuzzyRange + clicksPerPack), click generation stops until the current amount is packaged
    • If the clicks generated exceeds the packaging range without first entering it, the minimum reward value is applied instead of the normal reward calculation
      • Exceeding fuzzyRange and receiving the minReward value does not count as a successful package
    • This value is directly modified by the "package range" upgrade
  • fuzzyPenaltyIntv is the interval in which the packaging penalty is applied for inaccurate packaging of clicks (-10% non-compounding base reward penalty per n clicks from clicksPerPack)
    • For example, consider if fuzzyPenaltyIntv was set to 3 and the amount of clicks generated was 5 away from the target amount (clicksPerPack):
      • Only a 10% penalty would be applied in this scenario, since the penalty is incremented by one for every 3 clicks the target is missed by
    • This value is directly modified by the "penalty interval" upgrade
  • maxPenalty is the maximum penalty that can be applied as a result of packaging inaccuracy, calculated as a percentage of the base packaging reward.
    • The maximum penalty only applies when within range of clicksPerPack, as no penalty is applied to the consolation reward (minReward)
    • This value is directly modified by the "max penalty" upgrade
  • minReward is the consolation reward applied when exceeding the maximum packaging range.
    • All base packaging rewards will be at minimum this value
    • Consolation rewards do not count toward packaging bonuses
    • This value is directly modified by the "min reward" upgrade

e. Passive mechanics

  • Each tick, there is a 5% chance for the clicksPerPack parameter to increase by 1% of its current value
    • This mechanic will not apply if the current ratio of clicksPerPack to clicksPerTick exceeds 10:1
    • The calculation's parameters cannot be directly modified by the player
  • Upgrading ticksPerSecond (subticks) or clicksPerPack will automatically increase the value of clicksPerTick if needed, to avoid stacking click overflow
    • This does not completely prevent balancing issues, but does help to avoid unplayable game states

II. Controls window

The Controls window (labeled Controls) has multiple subsections, all of which contain various actions you can perform.

a. Basic game controls

These mechanics are not yet fully implemented

The first subsection of the Controls window contains controls for basic game actions:

  • New Game starts a new game
  • Pause game pauses the game, provided no game actions are pending, and allows you to save, load, or resume your game
  • Load Game allows you to load a previously saved game from a save file
  • Save Game allows you to save your current game to a save file
  • How to play opens this guide

b. Game Actions

The Game Actions subsection (labeled Game Actions) contains controls for the game's various mechanics.

Controls in the Game Actions subsection appear as they become relevant, and as such these controls may not always be visible:

  • Package appears when you have acquired a sufficient number of Clicks, and resets your clicks to 0, rewarding you with money based on the number of Clicks generated.
    • This control will no longer appear after purchasing the Autopack Mod.
  • BUY BUY BUY appears after purchasing the Hedge fund Mod, and allows you to spend your earned money with a chance to gain more or lose it.
    • 75% of your money or $5,000 (whichever is higher) will be invested each time you activate it
    • The money you invest in the hedge fund is multiplied by a random value between 0.15 and 1.95
    • Each time you invest and lose money with this mod, the floor of the random value generated is increased by 0.01, with a maximum floor of 0.35
    • Any profit from this mod cannot cause your total money to exceed the global maximum.
      • If this happens, you will instead repeatedly lose the money you invest until the profit made no longer exceeds this limit.

c. Mods

Mods can be purchased with the money currency and, unlike Upgrades, affect or modify gameplay instead of only affecting one parameter.

  • Autopack allows the game to automatically pack Clicks into packages instead of requiring you to manually confirm each packaging operation.
    • This Mod can be refunded by clicking it again.
  • Hedge fund enables the BUY BUY BUY Action.
    • This Mod can be returned, but not refunded, by clicking it again.
  • Coffee Run is a Mod with special rules, and is available permanently once unlocked, by clicking the button.
    • More details regarding this Mod can be found under Additional Mechanics (Section VI.a)
  • Sell everything resets all purchased Upgrades in exchange for a partial refund.
    • This Mod can only be activated after purchasing every upgrade at least once.
    • The amount of money refunded is capped such that it can never cause your total money to exceed the global maximum.
    • This action cannot be reverted. Double-click the Mod to activate it.

III. Event Log window

The Event Log window displays game events every tick and immediate feedback on your actions. A maximum of 300 events are stored. Once the limit is reached, the oldest events are overwritten as new ones are added.

  • The Event Log can be filtered using the Filter search box to find matching text
  • The Event Log history can be cleared by pressing the Clear button next to the Auto-scroll toggle.
  • By default, the Event Log scrolls to the newest additions as they are added. To unlock scrolling and view previous events, uncheck the Auto-scroll checkbox.

IV. Info window

a. Stats

The Stats tab under the Info window displays game state information as well as the values of generation variables that may be upgraded. The Stats pane is refreshed each tick.

  • The individual parameters found in the Stats pane are described in detail under "Game parameters" (I.d)

b. Visuals

The Visual tab contains line graphs for visual insight into game variable generation. Average calculations for each chart are based on visible data.

  • click amount tracks the total clicks generated each tick.
  • base clicks deviation tracks the deviation of clicks generated each tick from the base amount of clicks.
  • pack reward tracks rewards for each successful package.
  • package penalty tracks package accuracy penalties
  • base reward deviation tracks the deviation of package rewards from the base reward amount.
  • bonus per package tracks bonuses added to package rewards.
  • investment gain tracks earnings from the Hedge Fund mod, as a percentage of each investment.
  • prestige bonus tracks the bonus reward applied to each package based on prestige and a further bonus from reward Uncertainty.

c. Settings

The Settings tab contains settings allowing adjustments to the game interface:

  • Layout preset allows you to choose between preset window layouts
    • This affects only the in-game window layout
  • When checked, Lock layout positions will prevent the movement and resizing of in-game windows
    • Windows can stil be collapsed using the arrow in the upper-left corner of each window
  • Visualizations allows you to customize the charts displayed in the Visuals tab

d. About

The About tab contains version information and credits.

V. Popout windows

Popout windows appear in the in-game UI for certain game actions. Some may require interaction to dismiss them, while others simply introduce new mechanics and actions you can perform.

  • When you meet the requirements, a popout window will appear allowing you to Prestige.
  • If you purchase certain Mods, popout windows can also appear, allowing you to perform new actions.

VI. Additional mechanics

These mechanics appear later in the game, and are a bit more involved.

a. Mod: Coffee Run

The Coffee Run mod is found later in the game and appears in its own window. It can be purchased from the Mods section of the Controls window after acquiring a certain amount of money. Here's a breakdown of its mechanics:

Overview

  • As an intern at a large firm, you are tasked with running around the office delivering things, sorting papers, and...going on coffee runs?
  • You get one order at a time, and you're expected to place it without completely messing it up.
  • Successfully completing coffee runs will give you bonuses to your Upgrades so you can Prestige with moderately less tedium!

Order Rules

Most rules are quite straightforward and require only that your selection matches the order. Note that orders won't explicitly contradict themselves, but ensure your placed order still matches these additional rules:

  • Breve is always prepared with Half-and-half
  • Black coffee must not contain Dairy or Syrup
    • Black coffee may contain Sugar
  • Hot coffee may contain ice
  • If no size is specified, the largest size is requested
    • If the drink is Espresso, its size cannot be larger than Medium
  • If no temperature is specified, a Hot drink is requested

Scoring

Scoring is done based on order data that may not exactly match the interface for entering an order. Please check the chart linked below for a full breakdown of how orders may be generated, as well as scoring for each category.

Rewards

Before placing an order, you have the option to choose between "baseReward" and "minReward" as an accuracy-based reward for your placed order. Based on the option selected, the following points apply:

  • You may gain or lose stats for your selected upgrade depending on your order's accuracy
  • At 5% per point, you may earn between -2.0 and 2.0 times of your upgrade's current value

b. QA Mechanics

Mechanics labeled "QA" are to make testing the game less tedious. However, with the addition of a save system most of these aren't really needed anymore.

VII. ImGui controls

Clicks uses Dear ImGui to render and manage its user interface. Some of these features allow in-game window management that you may find useful:

  • Move in-game windows by clicking and dragging on their title bar
  • Resize in-game windows by clicking and dragging on their borders
  • Collapse in-game windows by clicking on the arrow in their upper left corner
  • Group in-game windows by clicking and dragging a window on top of another one, and releasing over the icon indicating the position you want to group them in