Devlog II
I’m starting to get how to kind of devlog post… I think? It’s been a while since my last one anyway.
What’s new?
Fishing Mechanic that includes:
-
xkey for fishing - RNG mechanic that includes 3 fish: minnow, shark and whatever this
><))*>is - random time mechanic for wait time (the most weird one to code)
Since my last devlog was just about starting out and executing my idea now we finally have the game loop. Kind of. The game so far has the most bare bones fishing mechanic that runs on the terminal.
Most of the 8 hours and 40 minutes logged here is just debugging the entire thing. Pretty much the entire thing was a mess and I tried my best doing professional practices and keeping my code clean as much as possible…
During development
Like in my statement above when I first even started to add the mechanic I did not know the architecture. Maybe I should’ve asked AI for at least some suggestion but I went in head first and tried my best!
The entire thing was messy. I don’t know how to describe how messy it is, its messy. I had to keep rearranging functions, blocks of code from place to place. It’s like a puzzle that can fit anywhere. This is all in attempt to make it clean AND work.
I also had problems with using time.sleep() as it actually freezes everything rather than just stopping at one thing. I had to move to a different tactic where I count instead of how much time has passed rather than stop it.
The easiest problem I had was just organizing the code better. Especially for the menu script where it felt like HTML but on python so it was naturally bulky and difficult to keep clean.
My last problem that will continue to haunt my development is optimizing it for micro python and the esp32. The game as it is will not be able to run on esp32 so I had to ask AI for possible optimization in hopes it can be translated easier and less complicated. The only reason I have this problem is because I don’t have the hardware yet. I really do need to get it soon.
Conclusion
With all the bug fixes and organization that I did, my code is probably still not the best to look at… I hope to continue redesigning it to hopefully make it look clean. I also need to work on designing the architecture of this program.
The plan
Going forward this game will take a while to develop because of how actually big it is and my lack of experience in software to hardware.
SO WHAT AM I GOING TO DO? I’ll go make this project dedicated to the pygame version first. Afterwards, if possible with the time I will push through with the console.
That’s it for today have a great one.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.