this post was submitted on 29 Jan 2024
493 points (98.4% liked)
AnarchyChess
5860 readers
2 users here now
Holy hell
Other chess communities:
[email protected]
[email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No lie, after taking about 2 weeks of my first programming course in university, I did almost exactly this, trying to make a poker game.
I hadn't learned about objects, or functions, or even loops. Just one big method that had an
if
for every hand permutation.I hadn't ever been exposed to programming before, and I loved it, but I knew nothing about it. Those were the only tools I had in my toolbox, and you know what they say about how when you only have a hammer everything looks like a nail.
I'm a professional dev now, so I really hope I grew out of it lol
Time to get some qbasic coding in, your if and goto experience will do wonders