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