<commit_before>import collections
"""
Main File, run this file to start Auto Chess.
Run by typing:

    python ./main.py

into your terminal in the directory of this file (main.py).
This tells your computer to run the 'main.py' file with Python on your computer.

Above you see some lines with 'import blablabla'.
These ask Python to include other libraries that are either
included in Python by default or downloaded from the internet.
"""

def prompt_user_for_input():
    print("prompt_user_for_input")
    print("=================================")
    print("This function prompts the user on the screen to input their move.")
    print("This is done by handing some text which asks the user to the LCD text display interface")
    print("")


def gather_user_input():
    print("gather_user_input")
    print("=================================")
    print("This function gets the user entered initial and final piece positions and returns them")
    print("")

    return "Fake user initial position", "Fake user final position"

def give_to_chess_library(initial_pos, final_pos):
    print("give_to_chess_library")
    print("=================================")
    print("initial_pos is where the piece was.")
    print("final_pos is the new position of the piece.")
    print("1. Give this information to the third party chess library.")
    print("2. If anything goes wrong return an error, otherwise return nothing")
    print("")

def get_opponent_move_from_library():
    print("get_opponent_move_from_library")
    print("=================================")
    print("1. Use third party chess interface to ask third party Chess library for opponent's move")
    print("2. Opponent's move will be given to third party Chess interface")
    print("3. This function should return the Opponent's initial and final move")<commit_msg>Added the Get_User_Input function to the main.py file<commit_after>import collections
"""
Main File, run this file to start Auto Chess.
Run by typing:

    python ./main.py

into your terminal in the directory of this file (main.py).
This tells your computer to run the 'main.py' file with Python on your computer.

Above you see some lines with 'import blablabla'.
These ask Python to include other libraries that are either
included in Python by default or downloaded from the internet.
"""

def prompt_user_for_input():
    print("prompt_user_for_input")
    print("=================================")
    print("This function prompts the user on the screen to input their move.")
    print("This is done by handing some text which asks the user to the LCD text display interface")
    print("")


def gather_user_input():
    usrInpt = input()
    return usrInpt

    return "Fake user initial position", "Fake user final position"

def give_to_chess_library(initial_pos, final_pos):
    print("give_to_chess_library")
    print("=================================")
    print("initial_pos is where the piece was.")
    print("final_pos is the new position of the piece.")
    print("1. Give this information to the third party chess library.")
    print("2. If anything goes wrong return an error, otherwise return nothing")
    print("")

def get_opponent_move_from_library():
    print("get_opponent_move_from_library")
    print("=================================")
    print("1. Use third party chess interface to ask third party Chess library for opponent's move")
    print("2. Opponent's move will be given to third party Chess interface")
    print("3. This function should return the Opponent's initial and final move")
{'fraction_non_alphanumeric': 0.1406993006993007, 'fraction_numerical': 0.002797202797202797, 'mean_word_length': 4.459541984732825, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6548090', 'n_tokens_mistral': 946, 'n_tokens_neox': 900, 'n_words': 417}