# Moving from lobby to game

**URL:** https://forum.heroiclabs.com/t/moving-from-lobby-to-game/3154
**Category:** Client Libraries
**Tags:** server-framework
**Created:** [October 13, 2022, 11:49am UTC](https://forum.heroiclabs.com/t/moving-from-lobby-to-game/3154 "2022-10-13T11:49:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/nick/32/1353_2.png) [@nick](https://forum.heroiclabs.com/u/nick)
#### Post date: [October 13, 2022, 11:49am UTC](https://forum.heroiclabs.com/t/moving-from-lobby-to-game/3154/1 "2022-10-13T11:49:41Z")

</div>

In the docs I see you guys registering a `registerMatch('lobby')` for a lobby mode. We want to implement that in our game where after enough players pressed the ‘Ready’ button in that lobby, it creates a match of the actual game.

We know that we can use `nk.matchCreate()` within the `matchLoop` of the lobby if enough people are ready, but how do we go about having users in the lobby forwarded to that?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![gabriel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/gabriel/32/644_2.png) [@gabriel](https://forum.heroiclabs.com/u/gabriel)
#### Post date: [October 14, 2022, 7:51am UTC](https://forum.heroiclabs.com/t/moving-from-lobby-to-game/3154/2 "2022-10-14T07:51:15Z")

</div>

Hi @nick - We’ve just published a new guide that should help here: [Nakama: Creating a Lobby System | Heroic Labs Documentation](https://heroiclabs.com/docs/nakama/guides/concepts/lobby/)

Give it a read and let us know any further questions.

---

<div class="post-metadata">

### Author: ![nick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/nick/32/1353_2.png) [@nick](https://forum.heroiclabs.com/u/nick)
#### Post date: [October 17, 2022, 9:44am UTC](https://forum.heroiclabs.com/t/moving-from-lobby-to-game/3154/3 "2022-10-17T09:44:03Z")

</div>

Very helpful indeed. Thanks!

---

<div class="post-metadata">

### Author: ![nick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/nick/32/1353_2.png) [@nick](https://forum.heroiclabs.com/u/nick)
#### Post date: [October 17, 2022, 1:15pm UTC](https://forum.heroiclabs.com/t/moving-from-lobby-to-game/3154/4 "2022-10-17T13:15:45Z")

</div>

@gabriel the guide is written for TypeScript, but the [‘Joining the match’](https://heroiclabs.com/docs/nakama/guides/concepts/lobby/#joining-the-match) part isn’t, and I was wondering if that part is needed in TypeScript at all because the presences get picked up in the `matchJoin` handler, no?

---

<div class="post-metadata">

### Author: ![tom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/tom/32/676_2.png) [@tom](https://forum.heroiclabs.com/u/tom)
#### Post date: [October 17, 2022, 1:32pm UTC](https://forum.heroiclabs.com/t/moving-from-lobby-to-game/3154/5 "2022-10-17T13:32:56Z")

</div>

@nick The guide is separated into server side logic and then corresponding client side logic. The part you’re referring to demonstrates how to join the match from the client side (written using the Unity Client SDK). If you’re using a different client then you can safely disregard these parts or use them as a basis for your own client side code.
