function randomShapeName() {
  if (randomShapeName.bag_.length === 0) {
    var types = Object.keys(SHAPES);
    shuffleArray(types);
    randomShapeName.bag_ = types;
  }
  return randomShapeName.bag_.pop();
}
// Use a bag so that equal distributions are guaranteed.
Use a bag so that equal distributions are guaranteed.
Use a bag so that equal distributions are guaranteed .
function randomShapeName() {
  if (randomShapeName.bag_.length === 0) {
    var types = Object.keys(SHAPES);
    shuffleArray(types);
    randomShapeName.bag_ = types;
  }
  return randomShapeName.bag_.pop();
}
function randomShapeName ( ) { if ( randomShapeName . bag_ . length === 0 ) { var types = Object . keys ( SHAPES ) ; shuffleArray ( types ) ; randomShapeName . bag_ = types ; } return randomShapeName . bag_ . pop ( ) ; }
Use a bag so that equal distributions are guaranteed.
Use a bag so that equal distributions are guaranteed .