Getting stuck
March 26, 2026, 11:04 a.m.
Inevitably, when you're in this realm will get stuck. As a way to get back in to the rhythm of things as plenty of things have happened IRL that have split my attention. I have decided to get back into the swing of things while I knock out 5 or more tasks with 1 stone. Making a video game I think I would enjoy, thinking about other more difficult topics, while generating more audience/ views my direction, adding content to my blog, improving my skillset. I thought I was on a roll until reality started hitting. Making a video game even if small is not necessarily a small easy task. I should've have prototyped before the prototype. Now Im a bit of a jumbled mess with technical debt and loose functions that don't lead anywhere. I was soo close I could almost picture the video game. So now I need to scale back on my half baked game project and I fear it will not be what I envisioned but rather just serve as a lesson, plan. Following will be notes or steps that will help me remember for when it happens again or maybe help a future reader if they find themselves in a similar situation.
1. Clean up your code. Make it smaller easier to read.
2. Comment everything it might show gaps when everything has been combed.
Ok, as I was folowing the above 2 directives I may have come to a path forward or a breakthrough.
This game is akin to resource management so I have a concept of in-game currency energy, action, and may need a third element. Energy allows for chopping down trees which gives 1 energy and I also have a function that exchanges 2 energy for 1 action. However, this felt incorrect as it felt like free energy where there is no such thing as free energy therefore I believe by commenting my code I came up with maybe energy is generated by time similar to the sun hitting the planet and plants doing their thing thus generating energy, I'll try implementing this and see if it works. For now I will do dishes and see if it sits well with me.