You can change the first player pressing space. Click to position Each player needs to build a path that connects the border of its color to win.
All code is mine