Tic-Tac-Toe - Part 3 - Multiplayer, with a Lobby

Favourite 37 favourites
Tutorial written by blackhornetOriginally published on 5th, May 2014 - 2 revisions


There's a lot to think of when programming a multi-player game, but hopefully between the Scirra tutorials, and my variation you can glean enough to get your own going. I've avoided any synchronization commands, as they don't really apply to a turn-based-game, and most of the work revolves around setting up the communication channels. The actual communications them selves are really quite straight forward.


Please note: I do not have a dedicated server to run the Lobby from, so you may or not find it running already. To isolate your own environment, change the game-name in the lobby and client projects. This is GAME_NAME on eLobby of the Lobby projects, and GAME_NAME on the eJoin event sheet of the Client project.
Game Client

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.


Wsoukkachang 1,433 rep

Nice! Very useful!

Monday, May 05, 2014 at 4:19:32 AM
qu0y 3,151 rep

So considerate, thanks for being always so helpful!

Monday, May 05, 2014 at 2:29:55 PM
Scofano 2,765 rep

Thanks for sharing.

Monday, May 05, 2014 at 5:50:29 PM
Tedg 9,893 rep

Thanks for share this !)

Monday, May 05, 2014 at 6:53:22 PM
DUTOIT 12.8k rep

Oh, Wow, going to savour this one :) Looks fantastic.

Monday, May 05, 2014 at 7:54:54 PM
AbelaNET 14.9k rep

Thanks for sharing

Tuesday, May 06, 2014 at 8:22:39 AM
beardedeagle 2,020 rep

Multiplayer is the next thing I have to implement into my game and this will be very helpful to get me there. Thank you!

Monday, July 07, 2014 at 7:08:18 PM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.