this post was submitted on 22 Mar 2024
76 points (97.5% liked)

AnarchyChess

5213 readers
199 users here now

Holy hell

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

Matrix space

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Olmai 1 points 8 months ago (1 children)

shouldn't there be a black rook on a1 ?

[โ€“] [email protected] 2 points 8 months ago

The black rook causes a Buffer Overflow / Out Of Bounce Exception. It's not a single Data type that flips after it gets incremented after the maximum storageable value.

At least that's what I am thinking of, trying to implement chess in Java or C.