Well, this update was something else. I thought my project was aleady “done”… but no. Turns out it wasn’t done, it was in “works if you believe hard enough” mode.
First, I realized something kinda obvious that I still ignored at the beginning: if the user enters literally any number, the program just does whatever it wants. Like, actually. Sometimes I got times like 74:89:92 and I was like… ok… I guess this agent comes from the future or something.
That’s when I went ok, this needs some order. So I added validation to make sure the code has exactly 12 digits. It wasn’t super hard, but I still got confused with the zeros at first (because yes, counting zeros is also hard when you’re tired). Then came the best idea in the whole project (confirmed): the dual mode. Because before it was just “enter a number and pray.” Now it’s not. Now you have two paths: Decode a code andCreate your own agent.
And honestly, making the generate mode was fun but also kind of tricky. It looked easy… until I realized I had to build the number step by step without breaking everything. There was a moment where the code turned into some huge random number that even I didn’t understand.
I also messed up the order several times. So yeah, there were existential crisis moments like “why is this now a 14-digit number???”
Another thing (and this actually made me laugh later) was that I wanted the initials to look nice… but of course, if you enter random numbers, you get weird symbols. So I had to actually look into ASCII properly, and that’s when I finally understood the whole 65 to 90 thing. Before that, I was basically using magic without knowing what it did.
Oh, and GitHub… GitHub again 😭
Updating the README looked easy, but no. There’s always something: the image doesn’t load, the path is wrong, the preview doesn’t show… honestly, GitHub has its own personality.
But yeah, in the end this update actually feels like a real improvement. It’s not just a program that “works” anymore, now it’s something you can use, test, and even kind of play with.
I feel like at this point the project stopped being just an assignment and started feeling more like something mine. A bit chaotic, but it works… and that’s already a lot.
Log in to leave a comment