implement dice graphics