<reponame>StarBoy2000/Rock-Paper-Scissor<filename>packages/rules.py
# a function to define game rules
def gameRules():
    # print rules of the game
    print( "\n" )
    print( "".center( 80, '-' ) )
    print( " Main Menu ".center( 80, '-' ) )
    print( "".center( 80, '-' ) )
    print( "\n" )
    print( "~~Game Rules~~".center( 80, ' ' ) )
    print( "\n" )
    print( "\t> Scissor beats the paper as it cuts through the paper" )
    print( "\t> Paper beats the rock as it can wrap the rock" )
    print( "\t> Rock beats the scissor as it can destroy the scissor" )
    print( "\n" )

    # print available choices and guidelines to choose 
    print( "".center( 80,'-' ) )
    print(" Choices you can select ".center( 80,'-') )
    print( "".center( 80,'-' ) )
    print( "\n" )
    print( "\t> Rock - R/r (Please enter R or r.)" )
    print( "\t> Paper - P/p (Please enter P or p.)")
    print( "\t> Scissor - S/s (Please enter S or s.)" )
    print( "\n" )
    print( "".center( 80,'-' ) )
    print( "".center( 80,'-' ) )
    print( "".center( 80,'-' ) )
    print( "\n\n" )