main.py: interactive_main: move some code to a new function to reuse, and update docstring
main.py: interactive_main: move some code to a new function to reuse, and update docstring

ilius/chess-challenge