Tic-tac-toe in console.
AI - Random
/*
In console:
* "prev" - make previous move;
* "history" - show history move for this player
* */