int playDices() { int generalScore = 0, currentScore = 0; for(int i = 0; i < 2; ++i) { currentScore = dicesScore(); dicesDraw(currentScore); generalScore += currentScore; } return generalScore; }
int dicesRoll() { int scoreCurrent = 0, scoreTotal = 0; for(int i = 0, i < 2; ++i) { scoreCurrent = dicesScore(); dicesThrow(scoreCurrent); scoreTotal += scoreCurrent; } return scoreTotal; }