refactors code. diceroll is now in game. functions are moved out of base IO methods