Skip to content

Repository files navigation

⚛️ Atom Clicker

Welcome to Atom Clicker, an engaging incremental game where you'll build your own atomic empire! Start small with individual atoms and work your way up to cosmic structures.

GitHub Discord Players

🎮 Play Now | 💬 Discord

Atom Clicker Gameplay

🎮 How to Play

  1. Click the Atom: Start by clicking the central atom to generate your first atoms.
  2. Buy Buildings: Use your atoms to purchase buildings that automatically generate more atoms for you.
  3. Upgrade: Enhance your buildings and clicking power through the upgrades menu.
  4. Unlock Skills: Spend your earned points in the Skill Tree to gain massive permanent boosts.
  5. Reset for Power: When progress slows down, perform a reset to gain powerful currencies like Protons and Electrons to further boost your empire.

⚛️ Features

Core Mechanics

  • 🖱️ Click to generate atoms
  • 🏗️ Build and manage various structures:
    • From tiny molecules to massive cosmic entities
    • Each structure with unique production rates
    • Level up your buildings to increase their efficiency

Progression Systems

  • 🌳 Extensive Skill Tree

    • Unlock powerful multipliers
    • Enhance your clicking power
    • Boost your production capabilities
    • Unlock automation features
  • 🎮 Multiple Reset Layers

    • Each layer provides powerful bonuses
    • Strategic decisions on when to reset
    • Permanent progression rewards

Advanced Features

  • ⚡ Power-up System

    • Random power-ups appear during gameplay
    • Stack multiple effects
    • Collect Higgs Bosons for permanent bonuses
    • Upgrade their duration and effectiveness
  • 🤖 Automation

    • Auto-buy buildings
    • Auto-upgrade systems
    • Optimize your production
  • 🟣 Photon Realm

    • Unlock a mysterious gameplay dimension with interactive violet circles
    • Discover rare Excited Photons for exotic upgrades

Social Features

  • 📊 Global Leaderboard
  • 🏆 Achievement System
  • 🔒 Secure Authentication

🚀 Getting Started

  1. Install dependencies:
bun install
  1. Start the development server:
bun dev
  1. Build for production:
bun run build

🗄️ Local Supabase

The backend can run entirely on your machine (requires Docker). The local stack only starts Postgres, PostgREST, Auth and Studio, everything else is disabled in supabase/config.toml.

bun db:start    # start the local stack, prints the API URL and keys
bun db:status   # show URLs and keys again
bun db:reset    # recreate the database from supabase/migrations + seed.sql
bun db:types    # regenerate src/lib/types/supabase.ts from the local schema
bun db:stop     # stop the containers

Copy .env.example to .env and point PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_PUBLISHABLE_KEY and SUPABASE_SECRET_KEY at the values printed by bun db:start. OAuth providers are off locally, create a test user from Studio (http://127.0.0.1:54323) instead.

🛠️ Built With

🌐 Deployment

This project is optimized for Cloudflare Workers.

# Build for production
bun run build

The build output will be in the .svelte-kit/cloudflare directory, ready to be deployed.

📝 License

This project is open source and available under the GNU GPLv3 License.

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

About

A clicker game about atoms.

Topics

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages