implement dice compare logic