boolean notify;
int pos = game.board.pos(cursorX, cursorY);
if (game.board.get(pos) == Board.NONE) {
notify = super.doPlay();
} else {
Group group = new Group(game.board.maxPos());
game.board.getGroup(pos, group);
if (game.board.isBit(pos, Board.M_CAPTURED))
game.board.clearBit(group, Board.M_CAPTURED);
else
game.board.setBit(group, Board.M_CAPTURED);