Judicators interface and StraightLineJudicator.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
StraightLineJudicator tests for IBoard on judge method.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Move StubBoardFixture to tests/stub.js

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Use StubBoard fixture and 3 acceptance style tests.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Impl.ement unit test passes.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Empty board returns false test and unit test bug fix.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Add judicator argument to referee and unit test for integrity check.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Add stubJudicator to referee test fixtures.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Add judicator argument to all Referee constructor calls and composition root.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Unit tests for judicator to check the board before player two moves.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Unit test to check that player one is not invited to move if player two wins.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>