Idle games: Games that keep players coming back—watching numbers tick up, coins stack, and rewards multiply while doing nothing. Samme provides this sandbox demo to show you the basics of building idle game systems.

In this demo:

  • Use basic clicking or tapping mechanics to place plants
  • Create basic economy where each plant costs 1 resource and generates 0.5 resources per second
  • Each plant keeps track of its own resource generation

Implement interactions:

  • Preview plant placement before placing
  • Coin particle feedback after a plant generates 1 resource
  • Score tracking and UI display

Study the code or copy it to get start creating your own idle game.

View Demo