this post was submitted on 29 Jan 2024
480 points (98.8% liked)

AnarchyChess

5139 readers
45 users here now

Holy hell

Other chess communities:
[email protected]
[email protected]

Matrix space

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CeeBee 49 points 8 months ago (32 children)

I really hope this is satire. Otherwise I'm scared to ask how long it took.

[–] Researchgrant 90 points 8 months ago (8 children)

It's definitely satire. 2 million lines of code is an absurd under-exageration. This post had me looking up the number of possible chess games, because if you coded chess like above you would have to have an if statement for every outcome, and it's 10^120 different possible games.

https://en.wikipedia.org/wiki/Shannon_number

[–] flames5123 3 points 8 months ago (1 children)

You only have to code a fraction of those as the computer should take the same move for several of the user inputs.

load more comments (6 replies)
load more comments (29 replies)