I am not familiar with PICAXE but depending on type of LED
interface, you could use 4 outputs for LEDs and one input to
"roll the dice". The trick is to arrange LEDs in pattern like
on regular dice (6 LEDs in "6" arangement and one in the center
for numbers like 1,3 and 5). You will have to check if the operating
power can be high enough (5V is just fine) so you can power 2LEDs in series.
LED arangement:
C-B
DAD
B-C
Output states:
A - used for "1", "3" and "5"
B - used for "2" and "4" and "6"
C - used for "4" and "6"
D - used for "6"
Since A is the only output to drive single LED, resistor will be higher
value than other three.[/code]