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.
That’s the number of possible games, the number of possible board states is much lower, 10^40.
Although you’re still clearly correct in the end anyways because it’s still an absurd number of board states and it’s not even formatted to be one state per line.
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
The way I understood it, it’s two million lines and nowhere near finished.
Anyway, satire.
You only have to code a fraction of those as the computer should take the same move for several of the user inputs.
That’s the number of possible games, the number of possible board states is much lower, 10^40.
Although you’re still clearly correct in the end anyways because it’s still an absurd number of board states and it’s not even formatted to be one state per line.