cbarrick@lemmy.world to General Programming Discussion@lemmy.mlEnglish · 3 years agoEncoding tic-tac-toe in 15 bitscbarrick.devexternal-linkmessage-square3linkfedilinkarrow-up14arrow-down11
arrow-up13arrow-down1external-linkEncoding tic-tac-toe in 15 bitscbarrick.devcbarrick@lemmy.world to General Programming Discussion@lemmy.mlEnglish · 3 years agomessage-square3linkfedilink
minus-squareglibg10b@lemmy.mllinkfedilinkarrow-up1·3 years ago15 bits is possible if you encode the state in base-3, where each digit represents one of the cells
15 bits is possible if you encode the state in base-3, where each digit represents one of the cells