stalemate/draw ver1.0

-i'm dumb, i actually fixed it this time. Hopefully