@Override
	public HantoMoveRecord makeMove(HantoMoveRecord opponentsMove) {
		HantoMoveRecord ourmove = null;
		if(opponentsMove == null) {
			try {
				game.makeMove(HantoPieceType.BUTTERFLY, null, new BasicCoordinate(0, 0));
				ourmove = new HantoMoveRecord(HantoPieceType.BUTTERFLY, null, new BasicCoordinate(0, 0));
			} catch (HantoException e) {
				e.printStackTrace();
			}
		}
		else {
			//make opponents move
			try {
				game.makeMove(opponentsMove.getPiece(), opponentsMove.getFrom(), opponentsMove.getTo());
			} catch (HantoException e) {
				e.printStackTrace();
			}
			//make our move
			List<HantoMoveRecord> possibles = game.moveCanBeMade();
			if(possibles.isEmpty()) {
				ourmove = new HantoMoveRecord(null, null, null);
			}
			else {
				ourmove = possibles.get(0);
				try {
					game.makeMove(possibles.get(0).getPiece(), possibles.get(0).getFrom(), possibles.get(0).getTo());
				} catch (HantoException e) {
					e.printStackTrace();
				}
			}
		}
		return ourmove;
	}