Simple dice

I think i understand know of anywhere that has a good tut for arrays?