Closed Muthaias closed 3 years ago
Idea: activate dev tools automatically for localhost:
// Enable DEV_TOOLS for local development by default to improve DX
// window.DEV_TOOLS_ACTIVE = window.location.hostname.includes('localhost')
important note: use window
global state for bonus points 🏆
Improved dev tools could (in addition to the simple debug
logger) be added using the new WorldStateExtensions
https://github.com/Greenheart/swipeforfuture.com/blob/master/src/game/WorldStateExtensions.ts
We want to re-implement the dev tools (i.e state logging) in a cleaner less intrusive way. This can be done by extending the class BasicGameScenario and overriding selected function adding logging or a stream to a developer toolbar.