Viper98

Okay so what i'm trying to do is make an LED dice based on the tutorial HERE http://www.instructables.com/id/Arduino-Led-Dice/ The "die" rolls and displays a number between 1&6I got the sketch he wrote up and it runs perfectly. But being the tinkerer i am i wasnt satisfied. Eventually i want to involve two die on one breadboard to play a "game" of sorts. When one player wins a sound plays (right now it is set to play a sound byte from SMB) using the tone library. Right now while im troubleshooting i have it to play the tone when a 4 is rolled. The problem im having is that it will randomly pick a number and then "print" it to the die (using the "disp" function) multiple times instead of just one. This makes no visible change but when a 4 is rolled the sound will play more then once. It seems almost random how many times is is sent into the disp function but its always between 1 and 3. I'm very new to arduino and would probably consider this my first real project and I've tried everything i can think of. Any help would be much appreciated

My code isn't commented at all because its nowhere near completed but if you have question about what any part of the code does please ask.