← All projects
Project record1 mention
Originally shared on Hacker News

Deterministic browser game with custom game engine and simulator

This is a browser game built on a custom, fully deterministic and discrete (non-float based) game engine with bit-packed data structures, power-of-2 optimizations, and fully decoupled logic and rendering. A companion simulator runs 10,000+ full games in about 50 seconds on a MacBook M1 Pro, using Monte Carlo methods to tune the enemy AI (conventional bots, not LLMs).

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Deterministic browser game with custom game engine and simulator

    This is a browser game built on a custom, fully deterministic and discrete (non-float based) game engine with bit-packed data structures, power-of-2 optimizations, and fully decoupled logic and rendering. A companion simulator runs 10,000+ full games in about 50 seconds on a MacBook M1 Pro, using Monte Carlo methods to tune the enemy AI (conventional bots, not LLMs).

    Posted by @purple-leafy · Original source ↗

    Source text · @purple-leafy · · Source ↗

    My own browser game. I created a browser game engine and building my first ever game with it. I can’t wait to launch it, I think it’s pretty cool. I’ve been working on it for 6 years! The tech surrounding the game is awesome, the game and engine are fully deterministic, discrete (not float based), and bit-packed data structures throughout, powers of 2 everywhere for really fast operations, and logic and rendering are fully decoupled. I wrote a simulator for the game and can simulate 10,000+ games in around 50 seconds on my MacBook M1 Pro. Purpose of the simulations is Monte Carlo method to tune my enemy AI (not LLM - conventional bots etc)