Ludrol to AnarchyChess@sopuli.xyz · 9 months agoDoes an array start with 1 or 0?imagemessage-square13fedilinkarrow-up179arrow-down12
arrow-up177arrow-down1imageDoes an array start with 1 or 0?Ludrol to AnarchyChess@sopuli.xyz · 9 months agomessage-square13fedilink
minus-squareOlmai@lemmy.worldlinkfedilinkarrow-up1·9 months agoshouldn’t there be a black rook on a1 ?
minus-squarevelvetThunder@lemmy.ziplinkfedilinkEnglisharrow-up2·9 months agoThe 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.
shouldn’t there be a black rook on a1 ?
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.