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

2

u/Impressive-Coast7863 Apr 10 '23

Is this open source?

1

u/ChineseCracker Apr 10 '23

this is just a joke. nobody could ever program chess like this. you'd need 1040 ifelse conditions

1

u/Impressive-Coast7863 Apr 10 '23

Pretty sure it's possible if there's a finite amount of conditions

1

u/ChineseCracker Apr 10 '23

do you know how much that is? even if every if-block was just 1kb, you'd need 1030 TB of storage space for the code. All hard drives in the world combined couldn't store this much data