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