An arduino based digital dice controlled by a light sensor