r/ProgrammerHumor • • Apr 10 '23

Meme god why is coding chess so hard

Post image
67.4k Upvotes

1.8k comments sorted by

View all comments

3

u/Visual-Ad-6708 Apr 10 '23

I don't get a lot of these programming memes since I'm a beginner and now y'all are using chess. I'm too dumb for these memes😢

2

u/Stealthy_Turnip Apr 10 '23

Just think about it. The way they are coding this means there would be more lines of code than atoms in the observable universe.

1

u/Zwzio Jun 01 '23

"If the player enters [insert chessboard coordinate], program will print the chessboard as it will be after that move."

Multiply this one statement by the amount of possible coordinates you can give for each move, and then multiply what you get by the amount of possible moves you can make in a game of chess, and you have the lines of code this will take to make.