<commit_before><commit_msg>First draft<commit_after>import sys

try:
    paper_file = open('paper.txt', encoding='utf-8')
    rock_file = open('rock.txt', encoding='utf-8')
    scissors_file = open('scissors.txt', encoding='utf-8')
    paper = paper_file.read()
    rock = rock_file.read()
    scissors = scissors_file.read()
    paper_file.close()
    rock_file.close()
    scissors_file.close()

except (FileNotFoundError, IOError):
    print('Error! Couldn\'t load\\read files with ASCII images!')
    sys.exit()

print(rock)
print(paper)
print(scissors)

menu = True

def menu():
    print()
    print('{:*^16}'.format('/MENU/'))
    print("*              *")
    print("* 1. Paper     *")
    print("* 2. Rock      *")
    print("* 3. Scissors  *")
    print("* 4. Exit game *")
    print('{:*^16}'.format(''))
    print()

def clear():
    print('\n'*500)

    
menu()

while menu:
    choice = input("Enter your choice: ")
    if choice == '1':
        print(paper)
    elif choice == '2':
        print("Rock")
    elif choice == '3':
        print("Scissors")
    elif choice == '4':
        menu = False
        print("Quitting game...Bye!")
        clear()
    else:
        menu()
        print("Please select an item from the menu.")

{'fraction_non_alphanumeric': 0.17882919005613473, 'fraction_numerical': 0.014434643143544507, 'mean_word_length': 2.5254237288135593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4479936', 'n_tokens_mistral': 438, 'n_tokens_neox': 416, 'n_words': 97}