# ==============================================================================
"""DICE : display a graphical representation for a list of random dice rolls"""
# ==============================================================================
__author__  = "Christophe Schlick modified by Philippe Blasi"
__version__ = "1.0"
__date__    = "2022-11-12"
__usage__   = """
User input : <number of dice> (must be an integer between 1 and 8)
App output : graphical representation for the provided number of dice rolls"""
# ==============================================================================
from ezCLI import *
from random import randrange
# ------------------------------------------------------------------------------
def roll(n:int) -> int:
  """return a list of 'n' random dice rolls"""
  pass
# ------------------------------------------------------------------------------
def dice(rolls:list) -> str:
  """return a graphical representation for a list of random dice rolls"""
  # first create the dice font as a single string with 5 lines of 60 characters
  pass
# ------------------------------------------------------------------------------
def parser(command:str) -> str:
  """parse 'command' and return the graphical representation for dice rolls"""
  pass
# ==============================================================================
if __name__ == '__main__':
  userloop(parser, "Enter number of dice")
# ==============================================================================
