gameState.js is kind of spaghetti code at this point and difficult to edit with GPT-4 due to its size. Need to extract each category of gameState.js (processes, inventory, quests) into separate files and extract everything else into something like utils/gameState/common.js. Once that's done, we can start revamping individual systems.
Also, there's a regression with progress bars that I'm still root causing. As a followup AI we need to either make sure it's properly unit tested, or probe it with a headless browser and alert on regressions. The latter sounds more valuable overall as we could reuse that architecture for other parts of the game.
gameState.js is kind of spaghetti code at this point and difficult to edit with GPT-4 due to its size. Need to extract each category of gameState.js (processes, inventory, quests) into separate files and extract everything else into something like utils/gameState/common.js. Once that's done, we can start revamping individual systems.
Also, there's a regression with progress bars that I'm still root causing. As a followup AI we need to either make sure it's properly unit tested, or probe it with a headless browser and alert on regressions. The latter sounds more valuable overall as we could reuse that architecture for other parts of the game.