Posted September 17, 2023 by initdotdev
#update #bug fixes
I didn't think I would make a release again so soon but some ugly bugs were present in the last release. :(
In squashing those bugs I started to look into some more long standing annoying issues. These were things like glitchy gem movement (you have a logitech mouse with the annoying click problems you may have noticed this) and the board never returning control to the player in certain situations.
Previously I spent a bit of time troubleshooting these issues and never full solved them. I put in some workarounds that helped but it was time to try to solve them properly.
So in this release there are a lot of under the hood changes. A lot of the code for core parts of the game (board/gem handling, location states etc.) were written quickly when I was prototyping and just continually added onto as I added more features. They were in bad need of refactoring because debugging issues was become really frustrating!
Most major parts of the game have been refactored to use the Finite State Machine pattern now. This has made debugging much easier and hopefully all or most of the show stopping bugs are gone.
Here is a summary of the fixes:
And some extra things added:
Check it out!