A turn-based 4X strategy game I built from scratch — custom WebGPU engine, eight civilisations, no install. Play it in your browser right now.
The oh so clever 2D solution for laser intersection doesn’t work I realised this evening. That’s what happens I guess when you literally dream a solution. Problem with it is how I determined the outline quad - its flawed as it can result in the same points being repeated.
What I’ve done instead this evening is to do the same but with each face of the bounding box. If you visualise it this basically results in the box being projected into 2D.
Forty-two years after I first started programming, I built a browser-native 4X from scratch — a custom WebGPU engine, eight civilisations, and an AI opponent I'm still teaching to play. No install, no sign-up. Play it right now.