A two implementation using command line
And implementation using the minimax alg. for AI