Tixanou to Programmer Humor@lemmy.ml · 1 year agocoding chessimagemessage-square54fedilinkarrow-up1723arrow-down126
arrow-up1697arrow-down1imagecoding chessTixanou to Programmer Humor@lemmy.ml · 1 year agomessage-square54fedilink
minus-squarexlash123@sh.itjust.workslinkfedilinkarrow-up13·1 year agoReminds me of when I downloaded Tic Tac Toe for my graphing calculator in high school. It wasn’t this verbose, but the original author copy pasted the logic for each turn. Even I knew this was awful, so I refactored it to use a loop.
Reminds me of when I downloaded Tic Tac Toe for my graphing calculator in high school. It wasn’t this verbose, but the original author copy pasted the logic for each turn. Even I knew this was awful, so I refactored it to use a loop.