tic-tac-toe client library and implementations