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.
And now they’ll have to fix their board, for it is wrong. h3 is a white square.
Btw, is there a cli chess game with such characters as symbols?
I imagine there are a few out there, but unicode has chess symbols so it’s certainly easy enough to do if you have a language, font, and terminal that supports it.
what if you write an algorithm that will produce the necessary code for each possible move, so you don’t have to type them all manually
If it works, it works.