Adam Bandel


Odyssos

Nov 2026
Type: web-app
Code: 34k lines
Files: 254
Stack:
JavaScript (ES modules)HTML5/CSS3Parcelbreak_eternity.jslz-stringnode:testGitHub Pages
Tags:
gameidle-gameincremental

Overview

Odyssos is an incremental idle game that runs in the browser. You train in four realms (Force, Wisdom, Energy and Divine), each with its own resource, conquer zones on a map that runs across a series of worlds, fight your way up a ladder of tournament fighters, collect artifacts, and spend on upgrades to raise your power level, the one number all of it feeds. It is released and live at odyssos.io, at version 0.9.4, still marked beta. The same build is also on itch.io and Game Jolt, and galaxy.click and IncrementalDB list it.

A rebirth resets your run in exchange for a permanent multiplier, and there are three tiers of it. Each tier opens at a higher power level, resets more than the tier below it, and pays its own currency, which buys upgrades that are kept through that tier’s resets and the ones below it. The final upgrade in the second tier’s tree opens the fourth realm, Divine, whose income multiplies the other three. Automation, which you earn through upgrades and rebirths, takes over the buying, the zone conquests, the tournament and, under conditions you set, the rebirths themselves. Upgrades all go through one modifier system, so a single upgrade can affect one training, a whole realm, or every feature of a kind. It is written in plain JavaScript with no framework and no server: the game and its save both live in the browser.

Screenshots

Training Tab

Exploration Map

Skill Tree

Problem

The plan from the start was a game that unfolds gradually. I hate being overwhelmed by a thousand menus and options when I start a game, and I believe most players do too, so a lot of the work went into the interface and the tutorial opening up a piece at a time. I had also never released a game, and I wanted this one published and in front of as many people as I could.

On the technical side, a browser idle game has to work out what you earned while the tab was closed, and save a lot of state compactly between sessions. Once players have saves, every update also has to load them.

Approach

Stack

Challenges

// ModTree.js: how one modifier combines with the running result
const CALCULATION_TYPES = {
  'add': (val1, val2) => val1.plus(val2),
  'sub': (val1, val2) => val2.minus(val1),
  'mult': (val1, val2) => val1.times(val2),
  'div': (val1, val2) => val2.dividedBy(val1),
  'addPercent': (val1, val2) => val1.times(val2),
  'subPercent': (val1, val2) => val2.times(val1),
  'exp': (val1, val2) => val2.pow(val1),
  'tetra': (val1, val2) => {
    console.warn('Tetration disabled for balance safety, falling back to exp');
    return val2.pow(val1);
  },
  // 1 + log_base(level): neutral (1) at level 1 and growing slowly,
  // so a log-scaled mod never divides by zero or inverts its effect.
  'log': (val1, val2) => val2.lte(1) ? DEC(1) : DEC(1).plus(val2.log(DEC(val1)))
};

Outcomes

It took the better part of a year, and I released it in March 2024. Reviews were mixed, and the negative ones were almost all about balancing. The praise was for the gameplay, and players logged a lot of hours on a couple of incremental game sites: by November 2026 galaxy.click alone counted about 18,000 plays and 16,000 hours.

Version 0.9.0, in October 2026, was the first update since July 2024, and it included a full balancing pass. It rebuilt production and rebirth gains, fixed calculation bugs such as the 1e30 cap, shipped the second and third rebirth tiers and the Divine realm, and gave Worlds 4 to 13 real costs. Four patches followed within eight days, 0.9.1 to 0.9.4, working through player reports going back to March 2024. Saves from the 2024 build still load.

The modifier system handles hundreds of active modifiers, targeted by type (for example allTrain or forceTrain) and calculated by priority, without circular dependencies. Purchases made in one tick are batched, so an autobuy tick that buys 50 things rebuilds each affected modifier list once instead of 50 times. An EventManager (the observer pattern) keeps the UI and the game logic loosely coupled. Content lives in 20 JSON files, and most costs and production rates come from formulas in one balance file, so one coefficient retunes a whole category instead of hundreds of rows. Separating what gets saved from how it gets saved made it simpler to add new features to the save system.

A bot that plays the real game code by fixed rules measures pacing, and it clears all 1,310 zones in about 24 simulated hours. It plays worse than an engaged player: one finished 0.9.0 in 9 hours.

Limits

Implementation Notes

Architecture Pattern

The Game class is a mediator that coordinates everything else:

Game (mediator, game loop)
├── EventManager (observer pattern)
├── GameManager (logic, one tick)
│   ├── GameContent (all features and currencies)
│   ├── UnlockManager (progression gates)
│   ├── AutomationManager (autobuy, auto-conquest, auto-tournament)
│   └── RankManager (level milestones)
├── Builder (builds every feature from JSON and the balance formulas, once at boot)
├── StateManager (saves, loads, migrations)
│   └── 27 state modules
├── OfflineManager (catch-up after the tab was closed)
└── GameUI (presentation)

Content and Balance

Game content is defined in JSON, so a new zone, artifact or upgrade is a new data entry with its name, description and place in the graph. Costs and production come from formulas in BalanceConfig.js for every kind of feature except two, whose hand-tuned curves don’t fit one formula yet and still take their numbers from the JSON:

// BalanceConfig.js (excerpt)
useFormulaOverrides: {
  trainings:        true,
  forgeUpgrades:    true,
  radianceUpgrades: true,
  artifacts:        true,
  fighters:         true,
  zones:            true,
  essenceUpgrades:  true,
  godhoodUpgrades:  true,
  lifeNodes:        true,
  cosmicUpgrades:   true,
  starForgeStructures: true,
  generators:       false,   // wisdom chain: 1 → 100 → 1e6 → 1e20 → 1e25 (non-geometric jumps)
  realmUpgrades:    false,   // Force realm: 50 → 1e5 → 5e5 → 1e7 → 1e9 (×2000 jump at upgrade 2)
},

ID Range System

Each feature type has its own ID range, so IDs never collide:


Related Posts