this post was submitted on 22 Mar 2024
4 points (100.0% liked)

AnarchyChess

4961 readers
148 users here now

Holy hell

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

Matrix space

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 0 points 3 months ago (1 children)

shouldn't there be a black rook on a1 ?

[โ€“] [email protected] 1 points 3 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.