June 29, 2025
I spent ages on a Neural Network that was supposed to be good, but it was absolutely terrible. As a result of this, I deleted all the code and now am gonna try to implement minmax algorithm with alpha beta pruning.
I set up a basic SDL3 window, with a demo image displaying. This will be the base for the Tetris game.
Added LAN multiplayer (or online if you can port forward). It works using Python socket, bound to 0.0.0.0 on a really niche port so it won't interfere with anything.
First devlog! I started the project yesterday, and got a basic board layout using nested arrays in ~1 hour (I hadn't installed the wakatime plugin yet 😭). Dropping was completed around 30 minutes later, after fixing some bugs. Around 2 hours in I installed the plugin and completed a checkWin() function. I don't know of any bugs at the moment, and it is completely functional for multiplayer use (sharing one device).
PyConnect-4 is, you guessed it, Connect-4 made in Python. It is currently CLI but might eventually have a GUI, and I plan on training a neural network to become very good at it.
(I couldn't post devlogs because I wasn't verified, so I'll summarize the last ~12hrs)
Added the slot machine (followed tutorial by CodeJos on YouTube)
Implemented all the obfuscation techniques (rename all your variables, add a ton of random imports, wrap the whole script in a if 1==1, encode all strings as b64, snarky AI comment the code, write all the code to a tempfile then execute that, add big and useless classes and lastly, encode all numbers as hex).
Fixed a ton of bugs because I'm terrible at writing regex.
Cleaned up a ton of code because I'm terrible at writing JS.
This was widely regarded as a great move by everyone.