9
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 05 Jul 2023
9 points (100.0% liked)
commandline
2236 readers
12 users here now
founded 3 years ago
MODERATORS
Thank you!
The script is brute forcing its way through possible solutions of 3x3 squares,AND lines AND columns, util it finds a match (there can be moree than one).
The code is admittedly quite "dirty", lots of repetition and nested conditionals.
It was one of my first project in (self-taught) C, and it was a great lesson in pointers. It sure can be improved, in due time I suppose.
Again, thanks for the kind words and the feedback!