Sveto Koychev wrote:In the code above is better to use switch case statement instead of a lot of if statements.
Jon Davis wrote:This is what I have so far. I think my next move is going to be to make a method that handles the 3 rolls per turn, that way I don't have to write the same bit of code 13 times.
I also think for now I am going to skip scoring and leave it as single player until I get the rest of the code right.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
|