100 Days of Code Day 96
Today’s exercise was ‘State of Tic-Tac-Toe’ basically decide if a game of tic tac toe is ongoing, a tie, or has been won. A few extra cases that throw errors were added to check if X, or O went too many times or kept playing after a win. Someone did better than me by enumerating the grid triplets that can win and then running across that. Mine is still good, and I think it might read easier.
Well I can’t just leave things with just one exercise left in the track can I? Nope. The next exercise was lens person. I thought I had already done this on the C# track but if I did it had a completely different name. Turns out it wasn’t hard. A little mind bending but not hard. So I finished that one too.
I kind of want to do more but I am still convalescing. If I have energy maybe I will update the post.
For the rest of 100 Days of Code, I will just pick exercises from the Python track I started years ago.
