# ¿How to make a multiplayer game?

**URL:** https://community.thunkable.com/t/how-to-make-a-multiplayer-game/2869923
**Category:** Questions about Thunkable X
**Created:** [March 2, 2024, 4:52pm UTC](https://community.thunkable.com/t/how-to-make-a-multiplayer-game/2869923 "2024-03-02T16:52:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![armandito140909cv](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@armandito140909cv](https://community.thunkable.com/u/armandito140909cv)
#### Post date: [March 2, 2024, 4:52pm UTC](https://community.thunkable.com/t/how-to-make-a-multiplayer-game/2869923/1 "2024-03-02T16:52:08Z")

</div>

I want to make an online chess game and for that I need to know how I can put another player in the same game

I need the player to be assigned a random opponent when pressing the search for a game button.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 2, 2024, 5:41pm UTC](https://community.thunkable.com/t/how-to-make-a-multiplayer-game/2869923/2 "2024-03-02T17:41:54Z")

</div>

Welcome to Thunkable!

Multiplayer games are complicated so there’s not a simple answer to your questions.

I’ve tried making a multiplayer game using Firebase to store data and listeners to check to see which player’s turn it is. This is similar to how a chat app might work. I don’t know of any multiplayer tutorials for Thunkable but you could Google that or just start with a chat tutorial because that will probably be similar. For that, Google _chat Thunkable firebase_.

If you get stuck and need help, focus on a specific problem/question and be sure to include screenshots, project link, and relevant details.

See this: [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983)

---

<div class="post-metadata">

### Author: ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)
#### Post date: [March 3, 2024, 1:02am UTC](https://community.thunkable.com/t/how-to-make-a-multiplayer-game/2869923/3 "2024-03-03T01:02:41Z")

</div>

Ive also used firebase for multiplayer card games and its definitely a challenge. I would think chess might actually be a little easier although you would have to define every rule so a play that wasn’t allowed would be blocked. You would also need to think about how youre going to match players based on skill, you wouldnt put someone like me who knows very little about the game against a GM so that needs to be thought out first. Figure out design and get your rules together and that will help you decide where to begin.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 3, 2024, 6:18am UTC](https://community.thunkable.com/t/how-to-make-a-multiplayer-game/2869923/4 "2024-03-03T06:18:59Z")

</div>

This API looks promising for validating possible moves: [GitHub - zenkay/py-chess-api: Super simple API for Chess game](https://github.com/zenkay/py-chess-api)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [June 1, 2024, 6:19am UTC](https://community.thunkable.com/t/how-to-make-a-multiplayer-game/2869923/5 "2024-06-01T06:19:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
