Electronic dice with AVR