This website requires JavaScript.
Explore
Help
Sign In
erbrown
/
lab_dice
Watch
1
Star
0
Fork
0
You've already forked lab_dice
generated from
mwc/lab_dice
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
4
Commits
1
Branch
0
Tags
main
Go to file
Code
Clone
HTTPS
Tea CLI
Open with VS Code
Open with VSCodium
Open with Intellij IDEA
Download ZIP
Download TAR.GZ
Download BUNDLE
erbrown
9d2a0ee0d2
While working with Yahtzee it was a overall game and everything was build on from one another. Each goal is its own class and knowns hwo to score. I like how I am able to create new classes like the ones for the game without having the change the whole code like other codes. Add the new classes did not change the game it just added to it. This is different with Unit 1 and 2 because if you are to add some code or change it it can alter the whole thing to be complete different.
2025-12-14 20:01:08 -05:00
.commit_template
Initial commit
2025-08-31 23:51:00 +00:00
.gitignore
Initial commit
2025-08-31 23:51:00 +00:00
dice_stats.py
An example could be playing cards. Each card is represented as a suit or value (1,2,3,4,...) and a deck is collection of cards. A player class can keep track of the cards and score. You could analyze or run the simulation multiple times to see which player wins the most or if a player is more likely to pick up a certain suit.
2025-12-14 19:13:43 -05:00
die.py
Initial commit
2025-08-31 23:51:00 +00:00
play.py
While working with Yahtzee it was a overall game and everything was build on from one another. Each goal is its own class and knowns hwo to score. I like how I am able to create new classes like the ones for the game without having the change the whole code like other codes. Add the new classes did not change the game it just added to it. This is different with Unit 1 and 2 because if you are to add some code or change it it can alter the whole thing to be complete different.
2025-12-14 20:01:08 -05:00
poetry.lock
Initial commit
2025-08-31 23:51:00 +00:00
pyproject.toml
Initial commit
2025-08-31 23:51:00 +00:00
yahtzee_goals.py
While working with Yahtzee it was a overall game and everything was build on from one another. Each goal is its own class and knowns hwo to score. I like how I am able to create new classes like the ones for the game without having the change the whole code like other codes. Add the new classes did not change the game it just added to it. This is different with Unit 1 and 2 because if you are to add some code or change it it can alter the whole thing to be complete different.
2025-12-14 20:01:08 -05:00
yahtzee.py
My thinking was different as I was really thinking about what was happening from beginning to end. It was more of the process of a whole to my thinking. When I code I take one step at a time to really make sure I am returning the correct information. Yes I do think i will include docstrings or comments to help me understand what is happening along with going back to reference what I did if I forgot what I did.
2025-12-14 19:46:44 -05:00
Description
No description provided
33
KiB
Languages
Python
100%