3 ms·
You don't even need that, just a player2, 3, 4, or just use a session object.
by heretohelp 14y ago
You don't even need that, just a player2, 3, 4, or just use a session object.
- mmcnickle 14y agoThey'd need to be kept secret, so other opponents couldn't easily see each others' game screens. It doesn't make much difference in chess, but in the word game, seeing other people's letters is cheating. It would complicate the sharing a little, because as the initiator of the game, you shouldn't know what the other players' unique URL is. You'd need a workflow like this: You create new game: Game URL: http://breakbase.com/<game_id> Your URL: http://breakbase.com/<game_id>/<your_unique_id> You send the game URL to your friend. If there are available spaces, it creates a unique URL for them the first time they access the game: You send them: http://breakbase.com/<game_id> They're redirected to their unique URL: http://breakbase.com/<game_id>/<their_unique_id> That way you haven't shared the unique ids with each other.