June 21, 2025
Continued on the main Python code. Finished all the user's options and started coding for the dealer to finish the game. I created a base code that the dealer will repeatedly add more cards, didn't add a way to stop it. I also added the base code for the dealer to announce the outcomes.
Continued on the main Python code. I changed the hand system from a list to a dictionary so I can have the value of the cards in there, which made it way simpler to calculate the total. I made the total counter (toggleable) and fixed all the hit code. I started on the stand function but quickly left it to work on the losing function.
I started the boba workshop 2 weeks ago and realised I can turn it into a SoM project. Today I did the Swirl workshop where I added more information and made it cooler. c:
A funny website made for boba and swirl
Continued on the main Python code. I created the dealing system and options when starting the game. I also created a functional betting page where you can bet the amount you want. There are still problems in the base game.
Continued on the main Python code. I fixed and created the blackjack game mode, where you can select either normal or advanced. I made a settings page where you can turn the game mode to a specific one and turn on a card total counter.
Continued on the main Python code. I finished fixing all the errors on the ATM function. I also started on the BlackDuck (Blackjack) game and settings page.
Continued on the main Python code. I continued on the ATM function and almost finished it; all I need to do is fix any errors. I changed the name function so people can only put string text.
Continued on the main Python code. I created and finished the name function, where users can insert their name and an ATM feature, where if players run out of cash, they can use an atm to get more money.
Continued on my main Python code. Finished my information code, where you can read about the information for the game (How to play, Terminology, Card Values, Tips and Tricks). Fixed/finished the card variables. Added code terminology in my README, mostly for variable acronyms.
Continuing on my main Python code, in the information section of the menu, I completed the How to play (Normal), How to play (advanced) and started on the card values information. I also fixed/changed the way I assigned the variables by using for loops to put them in a dictionary, which I can later use.
Continued on the main py code. Continued on the menu, where I finished the terminology section and almost completed the 'How to play(normal)' section. I also added error messages when selecting options that weren't available.
I started on the menu function, where you will be able to start the game, access information and settings, and quit the game (including the CTRL-C and CTRL-D keys). In the information menu, I created more menus that can help with playing and provide tips for the game.
Started off by creating the repo and the code files. In said code files, I created my main Python code, which I have labelled and established the variables in my game. (Labelling each variable might be necessary)
Creating a gambling game in python using pygame
I fixed an error when using CTRL+C to exit the game. I adjusted some code and tested it on Windows. I wrote some PyPI installation instructions, but I doubt it will be much help. (I somehow removed my older hackatime file of the original one in the code tunnel, so I'm using another one)
I wrote a bit about what I was thinking of doing in my readme. To sum it up, I don't think I should continue making the game in Python due to its complexity with being compatible with the website functions. I decided to move away from Python and start learning JavaScript, HTML and CSS. I also spent a lot of time trying to configure the pip for my mini game to use as a demo.
I didn't do much today because I rested for a large portion of the day. I tried to use the pygame and pygbag, but I found it really difficult to do. I wrote a bit explaining my mini game and left it there.
I tried to import pygame and try to make the web app, but I didn't really do much (deleted everything)
I finished the mini game called Lucky Room. Today I completed the last 3 games (it's easier to write them because of previously structure of other game). I also did some polishing with adding a wallet feature, exit functions, and author message. I tried to check for most of the errors by testing it so I hope I got most of them. I might try to make it into a quick and skuffed desktop game but for not the code is finished in its v1 stage.
Today, I continued on my mini game. In the last devlog, I said I would post more devlogs. I also said that I'll post my next devlog after I finish the dice roll and coin flip. I overestimated how hard it would be, and I decided to finish today's session by finishing the dice roll code. I got my dice roll game to work and secured it with a bunch of conditions so it's really difficult to break it (I hope).
I finished my learning stage and briefly explained the very basic parts of Python in my README. I finished the for loop, while loop, function, try-except and PIP. I plan to learn other parts along the way because I doubt if I learnt it at this stage, I would remember. I start on my mini game, where it's pure luck, and I've already learnt some new stuff like input() . Currently, I'm really excited to continue on and create a functional game. I think I should be doing more devlogs instead of doing one at the end of each day. So, I'll do my next one once I finish the first 2 luck games (dice roll and coin flip).
I did SO MUCH WORK today. I finished the list of tutorials and moved on to statements like if, elif and else. I also finished up the match function, which is so useful that I was amazed. I fixed up some small errors with the read me and read through a bit of some tutorials I skipped due to their complexity and uselessness. P.S. I had a heart attack when I found my time reset for SoM, but it might have been a syncing issue, but some kind people from SoM Support tried to help fix. Thank you, Shreyas and Ambe!!!
I added more information for my README to give a better idea of what I'm planning to do/achieve.
I finished casting (pretty simple, just changing data type) and almost finished string tutorials. I currently working on explaining and understanding the methods and different functions in string. I should try to make a small little game to make sure I understand all the mechanics I learnt
I learnt a lot more about Python's code. I understood the different kinds of data types there are, and looked through the thorough explanation of the numerical data types. Through this, I found a module reference to the random function. This would be perfect for my gambling game project. I followed through the reference sheet like it was a tutorial, noting and showing my understanding the my learn.py files in my repo. I have finished the random function reference, and I'm about to start the next part of the tutorial, casting.
I learnt a bunch of things in Python like 'print', variables, syntax (only if statements) and comments. I showed my understanding and explained each part in my learn.py file in my repo.
In this project, I learnt how to code in Python and create a Python package to play the game I made using what I learnt.
I think i have finally finished the case for my project, polished the PCB, made a table for BOM, updated BOM and started on production files and importing finishing files.
I thought I finished my case, but I forgot to check the length of the potentiometer, meaning I have to either redo the case or pick a different potentiometer. Probably both. I also wrote a lot in my README, but I haven't finished yet.
Journal Time (catch-up time from last night)
Worked a lot on my case on fusion. The coding platform for my repo and what I track 90% of my time broke. So there isn't much time on this Devlog.
Actually fixed the DRC errors in the PCB thanks to Person 20020. Added some finishing touches on PCB Started on the case, which is going pretty good
I actually got help for my PCB, and guess what, it was from my personal dm to Person. TYSM PERSON20020 for helping when no one else will. (a lot of trial and error) I'll write a journal tomorrow. I FINISHED PCB TIME TO DO CASE. (definitely spent more than 7 minutes but whatever
I didn't really do much; I mostly waited for help with my DRC errors. I did shop for the rest of the parts for my components and wrote June 28 in my journal. I updated the BOM with the extra parts.
I wasn't able to do much due to errors that I couldn't fix. Spend a long time in Kicad trying to fix it with no hope. I asked Highway for help. Updated Journal for June 27
Realised I need to word this like a journal, so yeah. I finished my June 26 journal. Wires all my PCB, a lot of DRC errors that I need help with. (more info in repo)
I started on my PCB editor, wrote progress on REPO (sadly some hackatime time got deleted because I forgot to add devlong and it was in the morning)
Parshly fixes schematics, wrote journal
Finished daily journal and started PCB, not good, need help. D:
I finished all the schematics of my project, chose all the footprints and got started on the PCB part. I also rethought the looks and how all the components would fit in.
I wanted to have a portable metronome with me to use for my drumming practices, so I created one. This metronome, called the 'MTR', is a small compact metronome with a screen, knobs, buttons and hackphone jack.
This was widely regarded as a great move by everyone.