cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
a simple yahtzee game
a simple yahtzee game
Feb 14, 2009 at 12:24am UTC
selder
(4)
I have to write code for one round of yahtzee with 3 rolls. I've gotten it to generate and display random numbers but I need help on how to be able to hold the dice of the user's choosing and keep them from being rolled again.
Last edited on
Feb 14, 2009 at 12:34am UTC
Feb 14, 2009 at 12:44am UTC
eker676
(427)
Try using an array. Each value in the array represents a dice number.
Topic archived. No new replies allowed.