3 ms·
P.J. Plauger had an article once about a co-worker who coded a chess program, which had two serious flaws: he got the search algorithm wrong, so that it was ver
by cafard 11y ago
P.J. Plauger had an article once about a co-worker who coded a chess program, which had two serious flaws: he got the search algorithm wrong, so that it was very easy to beat; and he didn't program it to lose, so that it would start to add pieces back in when it was about to. Plauger wrote, If you think kids enjoyed beating it, you should have seen their glee when got it to cheat.