I mean one simple rule would be just a hard wall at the intersections. So you‘d be playing against two players but on two independent boards and with half of the figures in each case.
Some more advanced rules could be to implement a penetration rule at the borders: you can either stay on one board against one neighbor or jump over to attack the other neighbor.