What are good games to learn by reading its source code? (javascript, maybe?)

This page summarizes the projects mentioned and recommended in the original post on /r/incremental_games

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • swarm

    Swarm Simulator, an idle game with lots of bugs. (by swarmsim)

  • The one game from the top of my head is SwarmSim, but it's a bit old and looks intimidating. I haven't tried cloning it yet.

  • pokeclicker

    The new and improved version of the popular idle/incremental PokéClicker

  • The first is PokéClicker, a Pokemon themed incremental that is fairly popular and open source! The devs are very helpful if you're interested in contributing! It has 74 different contributors already! It uses Knockout as a frontend reactivity framework, which is a bit outdated, but all the game logic is still relevant.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • igt-library

    A collection of useful scripts to help you develop Incremental Games

  • Another project you could check out is the Incremental Game Template. A collection of (in my opinion) high quality scripts that work nicely together to implement features that most incremental games have (multiple currencies, achievements, upgrades, etc). It is highly focused on creating a nicely scaleable architecture, something I couldn't find enough resources on when I was starting out. It uses a Vue frontend for reactivity, but your games can be run completely headless if you want! Source code can be found here

  • Evolve

    An incremental game about evolving a civilization (by pmotschmann)

  • Evolve has open source code, and it's somewhat readable. It uses Vue.

  • sveltekit-antimatter-dimensions

    Explore SvelteKit by replicating the base of Antimatter Dimensions

  • This is me playing around with Svelte to see how it would work for a game use case, so I implemented a very small slice of Antimatter Dimensions: https://github.com/jmroon/sveltekit-antimatter-dimensions/tree/main/src

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts