We had this feature before the bootstrap redesign for use in Lansite matchmaking, but it was removed in favor of game codes. Since then, we got rid of game codes in favor of url copying. I had tannerkrewson/connect4lansite set up with an old version of connect4 just for lansite, but it doesn't work anymore, as per https://github.com/tannerkrewson/lansite/issues/1
This pr adds a way of "hosting" an online game without clicking the button in the menu. It adds url kevinshannon.dev/connect4?createid=RANDOMIDHERE which can be joined with kevinshannon.dev/connect4?joinid=RANDOMIDHERE. The url copying box is hidden in this mode.
Hosting and joining via the main menu is unaffected.
We had this feature before the bootstrap redesign for use in Lansite matchmaking, but it was removed in favor of game codes. Since then, we got rid of game codes in favor of url copying. I had tannerkrewson/connect4lansite set up with an old version of connect4 just for lansite, but it doesn't work anymore, as per https://github.com/tannerkrewson/lansite/issues/1
This pr adds a way of "hosting" an online game without clicking the button in the menu. It adds url
kevinshannon.dev/connect4?createid=RANDOMIDHERE
which can be joined withkevinshannon.dev/connect4?joinid=RANDOMIDHERE
. The url copying box is hidden in this mode.Hosting and joining via the main menu is unaffected.