this post was submitted on 27 Jun 2025
824 points (98.6% liked)

Programmer Humor

24576 readers
1330 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 6 hours ago

now implement castling in that

[–] [email protected] 3 points 8 hours ago

Found the guy who passed the test with

printf ("    *\n   **\n  ***\n ****\n*****\n);
[–] [email protected] 14 points 21 hours ago* (last edited 21 hours ago)

This is supposed to be a joke but sadly a lot of beginner tutorials on coding Tic-Tac-Toe teach this

[–] [email protected] 2 points 23 hours ago* (last edited 23 hours ago)

They are doing it dumb. You can text output chess but you just need to keep track of where the pieces are in code, then when you are ready to output, place the characters. Saves so much time. /s

[–] [email protected] 1 points 1 day ago (2 children)

not to get epistemological,

but I hate that technically there's only a limited number of moves in chess, and therefore the best move is there, maybe there's a strategic where white will always win, but we'll never know because the number of variations likely is larger than atoms in the universe.

[–] [email protected] 7 points 1 day ago (2 children)

On the lower end of estimates, the number of unique chess board configurations is 10^120, often referred to as the Shannon number. The universe doesn't stand a chance.

[–] [email protected] 2 points 23 hours ago

maybe a distant future technology could compute that, Clarktech style

[–] [email protected] 2 points 1 day ago

That’s cool. I think this is why I never liked chess.

[–] [email protected] 6 points 1 day ago (1 children)

In modern chess, engines have gotten good enough that we generally do know the top moves and humans can't beat them. We can even numerically assess someone's chess play with a computer, which we call "accuracy". Obviously they can always be improved further, and there are a handful of situations where they might misevaluate, but it's still pretty incredible.

Engines have only made chess more exciting as they have shattered a lot of old theory and helped people find a lot of new and innovative ideas. They are an incredible aid in analysis and tournament prep.

[–] [email protected] 3 points 1 day ago (1 children)

yhea, but engines still act as if it is an unsolved game.

while in theory, given that the number of moves is limited, in theory one colour would always win.

[–] [email protected] 5 points 1 day ago (1 children)

The solution to chess is almost certainly a draw, since this is what all top engine chess converges to. Otherwise you are completely correct: chess is unsolved and will likely never be solved.

[–] [email protected] 0 points 23 hours ago* (last edited 23 hours ago)

one AI that always manages to draw in chess is Stable diffusion and dalle...

/j

[–] [email protected] 7 points 1 day ago

Well this is how programing works so if you don't like it...

[–] [email protected] 31 points 1 day ago (5 children)

This is actually what made me start my programming journey. Made small games using PowerPoint until I was starting to make an level editor on a 12x12 grid. My father thankfully stopped me pretty early on and showed me Game Maker 7. Not sure for how long i would have continued.

[–] [email protected] 4 points 1 day ago

I suddenly feel in good company. I got my start doing crazy things with PowerPoint and Excel because it was what I knew.

[–] [email protected] 6 points 1 day ago (1 children)

hey, there is an inherent fun in maing games/programs using things that were never meant to.

once i did a CPU/RAM emulator using excel, so you could see every bit.

it was fun to make loops, and programs

[–] [email protected] 4 points 1 day ago (1 children)

This is how I got into game development myself. I used to use Javascript to make dumb little interactive games in the early 2000s before it was ever meant to do such things, emulating what is now modern day HTML5 canvas and such

[–] [email protected] 1 points 23 hours ago (1 children)

bes way to learn is by doing what you're not supposed to

[–] [email protected] 2 points 21 hours ago* (last edited 21 hours ago) (1 children)

True enough! Mistakes are the best teacher. That said, I'm still making games in Javascript to this day, so I guess you can say I haven't learned enough lol.

[–] [email protected] 0 points 8 hours ago

Considering that enough pro's are doing the same, perhaps you didn't really do it wrong?

[–] [email protected] 5 points 1 day ago

PowerPoint is actually turning complete so... https://youtu.be/uNjxe8ShM-8

[–] [email protected] 12 points 1 day ago

Are you me lol? I did exactly the same, and at some point I started computing how many slides I had to make to make anything larger and I pivoted. My dad didn't know this stuff but I also ended up at gamemaker

[–] [email protected] 4 points 1 day ago

I coded basic games in PowerPoint using animations plus VBA. Not good.

load more comments
view more: next ›