• xlash123
    link
    fedilink
    arrow-up
    13
    ·
    10 months ago

    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.