title: Need some help with a dice rolling algorithm
body: <p>How would I go about pseudocoding the algorithm for a method that:</p>
  <ul>
  <li><p>Rolls a type of Die - 4 , 6 , 8 , 10 , or 12 sided</p>
  </li>
  <li><p>Can roll up to ten of this type of Die</p>
  </li>
  <li><p>If more than half of the die are 1's, print them a message that they bust and end the program</p>
  </li>
  <li><p>If any of the die are equal to the type of die rolled, take the highest value from the group. As well as re-roll the die that equaled the value of the type of die rolled.</p>
  <p>^^^^I.E. - Let's say you have 3 six sided die, you roll them and you get a 4, 2 and 6. You take the value of 6, since it is the highest. Then you re-roll the die that was a six. If you get a six you add that six to the previous six AND re-roll. If not you just add the highest die there to the previous value.</p>
  </li>
  </ul>