@Test public void testRedStarts() throws HantoException { HantoGame game2 = HantoGameFactory.getInstance().makeHantoGame(HantoGameID.BETA_HANTO, HantoPlayerColor.RED); MoveResult result = game2.makeMove(HantoPieceType.SPARROW, null, new ConcreteHantoCoordinate(0, 0)); assertEquals(MoveResult.OK, result); result = game2.makeMove(HantoPieceType.SPARROW, null, new ConcreteHantoCoordinate(1, 0)); assertEquals(MoveResult.OK, result); }
@Test public void createDeltaHantoGame() throws HantoException { HantoGame game = HantoGameFactory.getInstance().makeHantoGame(HantoGameID.DELTA_HANTO); game.makeMove(HantoPieceType.BUTTERFLY, null, coord(0, 0)); }