Tile tile = game.getCurrentTile();
for (Entry<Location, Tile> entry : getBoard().getAdjacentTilesMap(tile.getPosition()).entrySet()) {
Tile adjacent = entry.getValue();
Location rel = entry.getKey();
char adjacentSide = adjacent.getEdge(rel.rev());
char tileSide = tile.getEdge(rel);
if (tileSide != adjacentSide) {
Location bridgeLoc = getBridgeLocationForAdjacent(rel);
BridgeAction action = prepareTileBridgeAction(tile, null, bridgeLoc);
if (action != null) return action;