evandlr / Projects

0 stars 0 forks source link

Add stalemate #12

Open evandlr opened 2 months ago

evandlr commented 2 months ago

This one is especially annoying, so annoying I forgot it existed. You'd have to check whether every single piece has a legal move every turn, which seems super inefficient and if you were going to do that, the entire method of coding move legality would probably have to change. I hope I don't have to restart just because of stupid stalemates. Also three repetitions rule is annoying and needs the old move storing system desperately to work. Insufficient material is also dumb, but not the worst compared to the other two. 50 king moves could just be a variable, just annoying and takes memory.