Refactored with die object constructor and prototypical roll method