UNPKG

tictactoe-agent

Version:

TicTacToe Agent - Suggests a good tictactoe move based on a heuristic

12 lines (7 loc) 271 B
// https://marcofranssen.nl/using-mocha-chai-sinon-to-test-node-js/ var chai = require('chai'); chai.config.includeStack = true; global.expect = chai.expect; global.AssertionError = chai.AssertionError; global.Assertion = chai.Assertion; global.assert = chai.assert;