question

anhlt avatar image
anhlt asked

How would I use match-making (preview) for my game ?

Hi.

I want to use match-making (preview) service for our game. Can we add bot using this service? I can not find any documents about adding bot to the match-making service.

One more thing is our game need to create a game instantly and wait for a second player to join in, instead of polling the match making server every second for a match because it is a board game. Does match-making service support that ?


In case it does not support, I need to write my custom match-making using Cloud script. So I need a “place” to store waiting match … but each data object must belongs to an Entity. To create Entity, we need an Entity Type. Among all the built-in Types, I can not find one suitable for my situation.


Does any one know how to use Playfab for my board game design ? Thanks a lot.

CloudScriptentitiesdataMatchmaking
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Hi, may I know what are you trying to achieve by using the bot, what kind of operations does the bot perform? Can you describe your game more specifically? It seems to me that your game is like this: Player A creates a room/lobby and waits for Player B to join in, am I understanding it right? If that’s the case, you could use Photon Realtime to create lobbies/rooms which you could use for matchmaking. Here is a good guide for you to use Photon Realtime matchmaker: https://doc.photonengine.com/en-us/realtime/current/lobby-and-matchmaking/matchmaking-and-lobby. And for now, PlayFab does not support creating a custom entity.

I also found these threads that may help you:)

https://community.playfab.com/questions/9481/multiplayer-design-for-turnbased-asynchronous-ches.html

https://community.playfab.com/questions/11222/match-making-for-two-player-asynchronous-turn-base.html

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.