-
Notifications
You must be signed in to change notification settings - Fork 112
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
Overload constructor for alternate-sized die #43
Comments
If the default constructor is used instead, the object should default to a six faced die. |
DevangRaval1
added a commit
to DevangRaval1/GameDie
that referenced
this issue
Feb 7, 2023
saurabh-dk
added a commit
to saurabh-dk/GameDie
that referenced
this issue
Feb 7, 2023
ysiddhapura
pushed a commit
to ysiddhapura/GameDie
that referenced
this issue
Feb 7, 2023
…ion and altr die size construc
kushalramakanth
added a commit
to kushalramakanth/GameDie
that referenced
this issue
Feb 7, 2023
AbhinavReddy-Dev
added a commit
to AbhinavReddy-Dev/GameDie
that referenced
this issue
Feb 7, 2023
abhilashSreenivasa
added a commit
to abhilashSreenivasa/GameDie
that referenced
this issue
Feb 7, 2023
sourabhk25
added a commit
to sourabhk25/GameDie
that referenced
this issue
Feb 7, 2023
briswells
added a commit
to briswells/GameDie
that referenced
this issue
Feb 7, 2023
prestonmasseyblake
added a commit
to prestonmasseyblake/GameDie
that referenced
this issue
Feb 7, 2023
chetan2298
added a commit
to chetan2298/GameDie
that referenced
this issue
Feb 7, 2023
For variable faces
Closed
arshiya19
added a commit
to arshiya19/GameDie
that referenced
this issue
Feb 7, 2023
hardikpatil
added a commit
to hardikpatil/GameDie
that referenced
this issue
Feb 7, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create an overloaded constructor
GameDie::GameDie(unsigned int)
so that die can be created with any positive number of faces.If the parameter passed is zero, default to six faced die.
Otherwise, allow a die that has as many faces as provided as a parameter.
The text was updated successfully, but these errors were encountered: