A simple tic tac player in Javascript with BDD-style tests in mocha.