-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arevyn assignment9 #7
base: master
Are you sure you want to change the base?
Conversation
Still needs work. I need to add the output to a file and finish the test method.
I kept changing stuff with this all week. I think I'm finally ready (and about out of time) to post as a pull request.
dieList.add(new LoadedDie(sides, loadedSide)); | ||
break; | ||
} // end switch | ||
} // end foreach die loop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if someone throws in a die that's not "numbered", "fudge", or "loaded"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks to me that loaded is handled by the default case that is risky
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what you mean. Looking back now, I'm not sure why I set it up that way. Will have that fixed soon.
Very well designed and I liked how you thought through with the input/output files. |
Really like your commenting, especially the ones that designate what the }'s are for. Makes it very easy to follow nested structures when they are commented like that. |
Okay, I think I'm finally done. Still needs work but it's completed, at least.