Allow Game Parameters to be passed via URL for easier game creation

19 votes

I think this would make it easier to host tournaments.
(This also makes it easier for me to host seafarer games too :D All I have to do is bookmark the link and a lobby of my preferred settings is created)

Example:
colonist.io/game?lobby_id=dzNo&HBC=1&mode=seafarers56&dice=rand&game_speed=vf&bot_speed=f&players=5

Behavior: Creates game lobby #dzNo with the appropriate parameters selected already.
If a lobby has already been created a particular code then it simply connects the player to the lobby.
In the absence of a passed parameter, the lobby uses default values

Suggested parameters:
lobby_id - 4 character lobby id
private - Private Game Boolean - 1 if true, 0 if false (current default is private)
HBC - Hidden Bank Card Boolean - 1 if true, 0 if false
FR - Friendly Robber - 1 if true, 0 if false
game_mode - (base, tutorial, ...)
dice - dice settings (rand,bal)
game_speed - (vs,s,n,f,vf)
bot_speed - (s,n,f)
max_players
discard_limit
VP - no. of vp to win

Under consideration Suggested by: Shadow7 Upvoted: 17 Feb Comments: 0

Comments: 0