Progress on My Game
My idea is a Adventure + RTS game. Due to an encroaching cataclysm you need to keep moving your base while gathering resources. Instead of using Unity which I originally planned to I'm doing a custom engine in TypeScript with graphics handled with Canvas(I guess).
I've over complicated things again.
What should take less than a day to implement quickly needs a custom engine with a complicated deferred action system and fully type safe action definition.
Rather then just calling a method this is what house creation looks like right now.
typescript
const house = await game.addAction(Settlement.AddBuilding.create()
.set('target', settlement)
.set('type', BuildingType.House));
This should hopefully make things easier when all the structure is done.