title: Player-turn based Dice game (having trouble with loops)
body: <p>Background; I'm trying to create a dice game for multi-players where you can choose how many players, sides on the die and dice's themselves you want in the game. And players each take a turn rolling n amount of dices and per each roll the score gets appended to the player classes playerScore property. Once a player reaches X amount of points, player is declared a winner.</p>
  
  <p>Problem; The below code is part of the "Game" class. When I compile the code, the game does what I expect for the most part; it rolls 5 dices each turn per player and appends the points to said player, but once the player reaches 100 points, the player is declared a winner, but the die's are rolled again for another player, despite the fact that the while loop is invalidated. The way i see it, the problem is with the for loop, but I have no idea how to fix this, i tried "break" but it only breaks from the if statement.</p>
  
  <p>My program has 3 classes; Die, Player, Game. If you need more information or screen shots. I can provide them.</p>
  
  <p><a href="https://i.stack.imgur.com/GtEWa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GtEWa.png" alt="enter image description here"></a></p>
  
  <p>P.S. If you think this code could be improved, please comment, I'd be glad to hear it out.</p>