2D tic tac toe (XO) using C , minmax algoorthim and Stanford portable library for GUI