Commit Graph

3 Commits

Author SHA1 Message Date
mbhatti4
4f14c81123 I found this unit very useful but more difficult to understand, especially this specefic lab.
I understand the concepts of class, methods and instances, but the code themselves are hard to understnad.
If i wrote the codes like unit 1 or 2, they would include more fucntions and loops. That is what I am confortbale with.
OOP seems to super efficient and writing the codes as they are can be more organized, I do think I am at the level to write them as the Yahtzee game.
2025-11-11 15:10:17 -05:00
mbhatti4
0d3853c89f I added docstrings to the Yahtzee.py
When writing docstrings, I had to think deeper about what is happening at each line of the code and how it effects the final result.
Some methods had choices, so I had to run through how they made a choice.
When writing code, I have to also go bit by bit, but actually write out the code to make it work, rather than just "walking through it" when writing the docstrings.
Yes! I think it is helpful, especaily for longer codes. It can get a bit too much when there is a lot going on, so having doscstrings can help organize!
2025-11-11 14:59:09 -05:00
6c96e08130 Initial commit 2025-08-30 01:12:02 +00:00