100 Days of Code - Day 24
I am not going to lie. I looked at my Jupiter notebook for about a half-hour without writing any code. Everything I could come up with in my head seemed like it wouldn't work to progress the Blackjack game. Because of this, I decided to open up the code along workbook to get me started. Which is a guide to the project, but it doesn't give you the complete solutions. I read the whole workbook, and I am still struggling to figure out how all the classes and functions fit together to make a completed game. My mind is exhausted, I tried today, but I just couldn't develop any solutions to the next part of the program. I'm hoping it makes more sense when I try to tackle this tomorrow. If not, I might have to watch the solutions video and take the easy way out. At least with the Tic Tac Toe game, I could try and fail, try and fail, try and fail. But right now, I don't even know what to try. Everything that comes to my mind seems like it won't work, no matter how I imagine it.
It's worth noting that I think I could make progress using functions. However, the instructor wants the students to use classes over functions for a lot of the program. Fitting functions together is a lot easier than fitting classes together. Overall, I spent an hour trying to develop some sort of game logic that fits all the pieces together. Unfortunately, I wasn't successful today. I suppose days like this can happen. I'm not going to let it discourage me. I'm sure I can get some code tomorrow after a good night's rest.
Total Time Dedicated to Python Learning = 62 hours
Image Source: Dice