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/
2•modulardevtools•4mo ago

Comments

modulardevtools•4mo 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!

Raspberry Pi: More memory-driven price rises

https://www.raspberrypi.com/news/more-memory-driven-price-rises/
1•calcifer•1m ago•0 comments

Level Up Your Gaming

https://d4.h5go.life/
1•LinkLens•5m ago•1 comments

Di.day is a movement to encourage people to ditch Big Tech

https://itsfoss.com/news/di-day-celebration/
1•MilnerRoute•6m ago•0 comments

Show HN: AI generated personal affirmations playing when your phone is locked

https://MyAffirmations.Guru
1•alaserm•7m ago•0 comments

Show HN: GTM MCP Server- Let AI Manage Your Google Tag Manager Containers

https://github.com/paolobietolini/gtm-mcp-server
1•paolobietolini•8m ago•0 comments

Launch of X (Twitter) API Pay-per-Use Pricing

https://devcommunity.x.com/t/announcing-the-launch-of-x-api-pay-per-use-pricing/256476
1•thinkingemote•8m ago•0 comments

Facebook seemingly randomly bans tons of users

https://old.reddit.com/r/facebookdisabledme/
1•dirteater_•9m ago•1 comments

Global Bird Count

https://www.birdcount.org/
1•downboots•10m ago•0 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
2•soheilpro•12m ago•0 comments

Jon Stewart – One of My Favorite People – What Now? With Trevor Noah Podcast [video]

https://www.youtube.com/watch?v=44uC12g9ZVk
1•consumer451•14m ago•0 comments

P2P crypto exchange development company

1•sonniya•28m ago•0 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
1•jesperordrup•32m ago•0 comments

Write for Your Readers Even If They Are Agents

https://commonsware.com/blog/2026/02/06/write-for-your-readers-even-if-they-are-agents.html
1•ingve•33m ago•0 comments

Knowledge-Creating LLMs

https://tecunningham.github.io/posts/2026-01-29-knowledge-creating-llms.html
1•salkahfi•34m ago•0 comments

Maple Mono: Smooth your coding flow

https://font.subf.dev/en/
1•signa11•40m ago•0 comments

Sid Meier's System for Real-Time Music Composition and Synthesis

https://patents.google.com/patent/US5496962A/en
1•GaryBluto•48m ago•1 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
6•keepamovin•49m ago•1 comments

Show HN: Empusa – Visual debugger to catch and resume AI agent retry loops

https://github.com/justin55afdfdsf5ds45f4ds5f45ds4/EmpusaAI
1•justinlord•51m ago•0 comments

Show HN: Bitcoin wallet on NXP SE050 secure element, Tor-only open source

https://github.com/0xdeadbeefnetwork/sigil-web
2•sickthecat•54m ago•1 comments

White House Explores Opening Antitrust Probe on Homebuilders

https://www.bloomberg.com/news/articles/2026-02-06/white-house-explores-opening-antitrust-probe-i...
1•petethomas•54m ago•0 comments

Show HN: MindDraft – AI task app with smart actions and auto expense tracking

https://minddraft.ai
2•imthepk•59m ago•0 comments

How do you estimate AI app development costs accurately?

1•insights123•1h ago•0 comments

Going Through Snowden Documents, Part 5

https://libroot.org/posts/going-through-snowden-documents-part-5/
1•goto1•1h ago•0 comments

Show HN: MCP Server for TradeStation

https://github.com/theelderwand/tradestation-mcp
1•theelderwand•1h ago•0 comments

Canada unveils auto industry plan in latest pivot away from US

https://www.bbc.com/news/articles/cvgd2j80klmo
3•breve•1h ago•1 comments

The essential Reinhold Niebuhr: selected essays and addresses

https://archive.org/details/essentialreinhol0000nieb
1•baxtr•1h ago•0 comments

Rentahuman.ai Turns Humans into On-Demand Labor for AI Agents

https://www.forbes.com/sites/ronschmelzer/2026/02/05/when-ai-agents-start-hiring-humans-rentahuma...
1•tempodox•1h ago•0 comments

StovexGlobal – Compliance Gaps to Note

1•ReviewShield•1h ago•1 comments

Show HN: Afelyon – Turns Jira tickets into production-ready PRs (multi-repo)

https://afelyon.com/
1•AbduNebu•1h ago•0 comments

Trump says America should move on from Epstein – it may not be that easy

https://www.bbc.com/news/articles/cy4gj71z0m0o
7•tempodox•1h ago•4 comments