stefan-brus / mushroom-viking

Learning web development by making an idle clicker game
1 stars 0 forks source link

Rework auto clickers #16

Closed stefan-brus closed 10 years ago

stefan-brus commented 10 years ago

The auto clicker logic needs a rework.

Instead of simulating actual "clicks", this logic should be replaced by a "main game event loop function" that constantly runs, and increases the mushroom count according to the current mps.

There should also be a clicker class structure that groups clicker data together, such as number of clickers, mps, initial clicker price, etc.