June 29, 2025
Didn't know I was that bad at Connect 4. Nice project!
Hi! The demo doesn't work! It might be missing a file extension (like .exe)! Please fix it and resubmit!
I did a ton of work on the GUI, and implemented the CPU though very janky. There are still bugs in the GUI version, but I really want to ship it now as I've spent far too long on this project so far, and the CLI version works just fine.
Final devlog before shipping!
there is a cursor at the bottom that you can move with the keyboard (and it moves with the mouse)
added a little star icon to show the last dropped tile for the people not paying attention.
Added a turn indicator so you know whose turn it is (for those who aren't paying attention to the game).
Made it so the background colour gets drawn to the screen every frame, so there are no artifacts when I change the size of a button for example.
Nice and short devlog, but some good progress.
Next up: implementing the CPU!
ive been cheffing it up.
implemented win detection,
less janky draw detection,
upgraded menu manager class = cleaner code and fun lambdas.
Gui version is looking good. Polished and significantly optimized the code (prevents making the buttons every frame). the board itself looks good, with draw detection but no win check implemented yet. i keep forgetting to make devlogs, but this is what ive been up to !
I forgot to make a devlog for a while, but i tweaked the algorithm a bit, added a settings system so you can configure the search_depth of the algorithm and the display mode (coloured text, coloured " " chars or emojis). i also started working on a gui version.
🚨 MINIMAX ALGORITHM IMPLEMENTED 🚨
it is VERY strong and might play perfectly (i am very very very happy)
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.
Tetris made in C but I forgor...
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 features a CLI and GUI version, both with a CPU (minimax algorithm) that is very good. (for some reason it is really bad on the GUI one but really good on the CLI one idk)
(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.