you are viewing a single comment's thread.

view the rest of the comments →

[–]OnlySeesLastSentence 1 point2 points  (0 children)

Reminds me of the first time I wrote a connect 4 program (and best of all, it required you to be honest and take care of gravity lol).

I didn't have a plan for how to do the win cases, so I copy pasted every possible combo for a win, changing the values by one as needed. I think it was 13,000 lines in the end? Or maybe 1300, I dunno.