coding chess

2 years ago by Tixanou to c/programmerhumor

load all comments
SeismicNote 7 points 2 years ago

When I was learning c++ in high school, I made a working 10x10 implementation of Conway's Life before I had learned about arrays.

Even then I didn't do it like this. Just had 200 variables for the front and back buffers, and one big function with individual checks for each grid coord variable to check it's neighbors.

path: 0 7847449, hotness: undefined, score: 7, children: 0
programmerhumor
programmerhumor

@lemmy.ml

login for more options
43221
1615
1329

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

go to feed...