frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Sovereign Engine – A hackable JavaScript game engine with live code editing

https://modulardev-tools.github.io/Project-Flux/
1•modulardevtools•1h ago

Comments

modulardevtools•1h ago
Hi HN! I've built something different from the usual game engine and would love your thoughts.

Sovereign Engine: Project Flux https://modulardev-tools.github.io/Project-Flux/

This is a fully functional game engine where every system is modifiable at runtime in the browser. The core philosophy challenges software as a black box – all code is exposed and hackable.

Key Technical Differentiators:

    Live Dependency Injection – Core systems (weapons, rules, physics) are dependency-injected and hot-swappable

    No Build Step – Edit code → Apply → See changes instantly while playing

    Deterministic Engine – Seeded RNG for reproducible gameplay/mod testing

    Public Domain – No licensing restrictions, truly yours to modify
Try the Live Modding:

    Play the game normally (wave-based shooter with boss fights)

    Open any mod panel ( WEAPON,  RULES,  PLAYER)

    Load a preset or write your own code

    Click Apply – changes take effect immediately
Example – Modify Weapon Behavior: javascript

// In the WEAPON panel – create a 3-shot burst function shoot(player, target, engine) { for (let i = 0; i < 3; i++) { setTimeout(() => { engine.projectiles.push({ x: player.x, y: player.y, vx: Math.cos(angle) * 450, vy: Math.sin(angle) * 450, size: 3, color: '#ff55ff', life: 1.5 }); }, i * 80); } }

Architecture Highlights:

    Clean separation between engine core and mod systems

    Mods run in same context as engine (full API access)

    localStorage persistence for user creations

    All audio generated procedurally
Why I Built This: Most game engines treat their internals as black boxes. I wanted to create something where the educational value is inherent – you learn game development by modifying a working game, seeing immediate results.

The engine demonstrates "sovereign software" principles: transparent, modifiable, and truly owned by users. No permissions, no gatekeepers, just creative freedom.

I'm particularly interested in HN's thoughts on:

    The technical architecture choices

    Potential applications beyond gaming

    The "sovereign software" philosophy

    Ways to improve the modding API
Live Demo: https://modulardev-tools.github.io/Project-Flux/ GitHub: https://github.com/JamesTheGiblet/Project-Flux-MVP-Ready

Looking forward to your feedback and seeing what mods you create!

You Don't Want to Learn Everything the Hard Way

https://www.robkhenderson.com/p/you-dont-want-to-learn-everything
1•paulpauper•2m ago•0 comments

Apple's iPhone 17 will forever change how we take selfies

https://www.zdnet.com/article/apples-iphone-17-will-forever-change-how-we-take-selfies-including-...
1•CharlesW•3m ago•0 comments

The Virtual Worlds Where AI Is Making Its Next Big Leap

https://www.msn.com/en-us/news/technology/the-virtual-worlds-where-ai-is-making-its-next-big-leap...
1•pseudolus•4m ago•0 comments

The End of the Blockbuster

https://www.profgalloway.com/the-end-of-the-blockbuster/
1•Brajeshwar•4m ago•0 comments

Go experts: 'I don't want to maintain AI-generated code'

https://thenewstack.io/go-experts-i-dont-want-to-maintain-ai-generated-code/
1•MilnerRoute•4m ago•0 comments

Action Potentials for September

https://neurobiology.substack.com/p/action-potentials-for-september-713
2•paulpauper•4m ago•0 comments

Show HN: Scream AI: Ransform Your Selfies into Cinematic Y2K Horror Photos

https://screamai.art
1•pekingzcc•7m ago•0 comments

Testing "Exotic" P2P VPN

https://blog.nommy.moe/blog/exotic-mesh-vpn/
3•todsacerdoti•10m ago•0 comments

The mafia hitman who dreamt of being a pop star

https://www.ft.com/content/a6523dd4-9d00-4b49-a4e5-d5271d6c3c03
1•cs702•11m ago•1 comments

AI uncovers a mechanism of gene transfer crucial to bacterial evolution

https://www.cell.com/cell/fulltext/S0092-8674(25)00973-0
1•PaulHoule•14m ago•1 comments

Accenture's $865M reinvention says goodbye to people without AI skills

https://fortune.com/2025/09/27/accenture-865-million-reinvention-exiting-people-ai-skills/
1•taubek•16m ago•0 comments

The Weird Concept of Branchless Programming

https://sanixdk.xyz/blogs/the-weird-concept-of-branchless-programming
1•judicious•17m ago•0 comments

ChatGPT told me I should quit my job

https://medium.com/@fluxusars/chatgpt-just-told-me-i-should-quit-my-job-13798241a601
2•fluxusars•19m ago•1 comments

Starbucks CTO resigned Monday amid tech revamp

https://www.reuters.com/business/retail-consumer/starbucks-cto-resigned-monday-interim-named-2025...
3•xwowsersx•20m ago•0 comments

The Incentive Failure of Contemporary Art Market

https://arminbagrat.com/modern/
1•_false•20m ago•0 comments

Ask HN: SciFi Recommendations

1•Awesomedonut•21m ago•0 comments

Swiss voters back e-ID and abolish rental tax

https://www.swissinfo.ch/eng/swiss-politics/swiss-voters-have-decided-on-electronic-id-and-abolis...
3•YakBizzarro•24m ago•0 comments

Planetary Pixel Emporium

https://planetpixelemporium.com/planets.html
1•staplung•25m ago•0 comments

Tracing the forgotten path of the first wagon train to cross the Sierra

https://www.sfgate.com/renotahoe/article/stephens-townsend-murphy-sierra-nevada-california-210576...
1•Stratoscope•25m ago•0 comments

'Biometric Exit' Expands Across U.S. Airports, Unnerving Some

https://www.nytimes.com/2025/09/26/travel/airports-biometric-exit-program.html
2•clanky•29m ago•0 comments

David Heinemeier Hansson at Startup School 08 [video]

https://www.youtube.com/watch?v=0CDXJ6bMkMY
1•tosh•30m ago•0 comments

The Making of a Market Maker

https://joincolossus.com/article/thomas-peterffy-market-maker/
2•Luc•30m ago•0 comments

What Are 'World Models'? The Key to the Next Big AI Leap

https://www.wsj.com/tech/ai/world-models-ai-evolution-11275913
3•Bostonian•31m ago•0 comments

Emacs Man Page from 9front

https://man.9front.org/1/emacs
2•kaladin-jasnah•33m ago•0 comments

Show HN: Built an MCP server using Cloudflare's Code Mode pattern

https://github.com/jx-codes/codemode-mcp
2•jmcodes•34m ago•0 comments

Frankfurt Airport Live Traffic

https://franom.fraport.de/franom.php?lang=en
1•muzzy19•35m ago•0 comments

How I make CI/CD (much) faster and cheaper

https://martinalderson.com/posts/how-i-make-cicd-much-faster-and-cheaper/
1•martinald•35m ago•3 comments

Why aren't companies speeding up investment? An answer to an economic paradox

https://theconversation.com/why-arent-companies-speeding-up-investment-a-new-theory-offers-an-ans...
1•rntn•37m ago•0 comments

Visual Studio 2026 Insiders is here

https://devblogs.microsoft.com/visualstudio/visual-studio-2026-insiders-is-here/
2•robenkleene•39m ago•0 comments

Goodbye, glaciers. Hello, engineered ice cones?

https://thebulletin.org/2025/09/goodbye-glaciers-hello-engineered-ice-cones/
1•pseudolus•43m ago•0 comments