A game which is played by several players. The players may be working cooperatively or competitively (either against each other or the game).

learn more… | top users | synonyms

204
votes
12answers
10k views

Is there an optimum set of colors for 10 players?

I need to identify 10 players with a unique color for each on the map. Is there an optimum set of 10 colors to use in this case? Every set I come up with has some colors too similar. Update: I was ...
56
votes
6answers
11k views

How to write a network game? [closed]

Based on Why is so hard to develop a MMO?: Networked game development is not trivial; there are large obstacles to overcome in not only latency, but cheat prevention, state management and load ...
27
votes
8answers
17k views

How can I make a peer-to-peer multiplayer game?

How can I make a p2p multiplayer game? I would like to have a server-less multiplayer game. But then, how all the clients know each other? Why the p2p-protocol is so famous in file transfer but not ...
22
votes
13answers
3k views

How to implement “bullet time” in a multiplayer game?

I have never seen such a feature before, but it should provide an interesting gameplay opportunity. So yes, in a multiplayer/real-time environment (imagine FPS), how could I implement a slow ...
21
votes
9answers
1k views

Techniques to prevent non-official clients in network gaming?

In multi-player network games, what techniques exist to try to ensure that users are connecting with the official client application, and not some hacked client app? I realise there is probably no ...
21
votes
5answers
1k views

How do I avoid “too” lucky / unlucky streaks in random number generation?

I'm currently dealing with a multiplayer combat system where the damage dealt by the players is always multiplied by a random factor between 0.8 and 1.2. In theory, a truly random RNG may eventually ...
20
votes
5answers
4k views

Game logic on the server! Good or bad?

I'm currently planning a simple online multiplayer game. And here is the question. Does it make sense to make the whole game logic on the server and just send the input from the client to the server? ...
19
votes
3answers
3k views

How to predict movement correctly when a player is invisible?

I have a multiplayer game and I'm doing client-side prediction, but some players can drink a potion and become invisible... The problem is that when they become invisible I don't share anything that ...
19
votes
4answers
4k views

Best strategy (tried and tested) for using Box2D in a real-time multiplayer game?

I am currently tackling real-time multiplayer physics updates for a game engine I am writing. My question is how best to use Box2D for networked physics. If I run the simulation on the server, should ...
17
votes
3answers
4k views

How does client-side prediction work?

I've read Valve + Gafferon and hundreds of pages from Google, but for whatever reason I can't get my head around client prediction. To my understanding, the basic problem is: Client A sends input ...
16
votes
6answers
1k views

Handling player logoff and logon in a persistent world without breaking immersion

One problem I've never seen fixed in any persistent online game is how to handle player logon and logoff without the characters just popping in and out of the world. My first thought is to simply ...
16
votes
12answers
996 views

Balance in online PvP games

I don't know if there's an accepted solution to this wicked problem. I'm thinking about the design of an online PvP game. A key aspect of the game, something that is just a given, and not my choice, ...
16
votes
6answers
1k views

In what kind of variable type is the player position stored on a MMORPG such as WoW?

I even heard J. Carmack quickly talk about it... How a software can track a player's position so accurately, being on a such huge world, without loading between zones, and on a multiplayer scale ? ...
16
votes
3answers
3k views

How to make a multiplayer game work reliably behind NAT?

Even games that are 100% client/server sometimes have issues when the client is behind NAT. Peee-peer games are even a bigger issues. Some games need to use multiple transports (such as UDP and TCP) ...
15
votes
9answers
6k views

Adding multiplayer to an HTML5 game [closed]

I am interested in making a game that I currently have a co-op experience, however I'm curious as to the best method of implementing this in HTML5. I have made games before using straight C sockets, ...
15
votes
2answers
839 views

Multiplayer Implementation, Can I implement it later if I chose to?

I plan to use XNA to build a game project. I'm not entirely sure at the moment if I want to add multiplayer functionality or not, bearing I have a lot of other problems to solve that I'm still new at. ...
15
votes
2answers
1k views

Should the game host be the authority, or another dumb client?

When designing a networked multiplayer-game where one player hosts and others connect, there are two strategies I'm aware of: Have the host-player's game be the authority, with all other players as ...
14
votes
6answers
2k views

What are some ways to prevent or reduce cheating in online multiplayer games? [closed]

Punkbuster exists just to prevent cheating, and yet cheating is common in punkbuster enabled games. Modern Warefare 2 is seriously locked down from the end user running their own server or making any ...
14
votes
2answers
2k views

How should multiplayer games handle authentication?

I've been lurking around to understand how an authentication system would work in games, but after many searches, it seems that working with ssl/certificates could be a little complicated for just a ...
14
votes
4answers
621 views

How to protect your real time online shooter from potential bots

I'm looking to create a multiplayer top down shooter. While I've read about different topics, I can see them I've got some real challenges ahead, but I'm all up for it. One thing I can't understand ...
13
votes
4answers
2k views

How should I track players' real-time positions in an MMO?

How do you keep track of the positions of the players in a MMORPG? I read that you can use either a database or you can store the coordinates in files. I tried using a database but it was slow. How ...
13
votes
6answers
2k views

Creating a seamlessly looping 2D multiplayer level?

A discussion came up recently about how to create a 2D side-scrolling multiplayer game that can have an looping level design (Think of Starbound and how their worlds are looping). I thought the ...
13
votes
1answer
1k views

How do game clients know that a server is running on their LAN?

In lots of multiplayer games there is the option for LAN play. My question though is how does a client know where a server is on the LAN? The only ways I can think of Send out broadcasts over the ...
13
votes
2answers
2k views

What to send to server in real time FPS game?

What is the right way to tell the position of our local player to the server? Some documents say that it is better to send the inputs whenever they are produced. And some documents say the client ...
13
votes
2answers
511 views

How can I stop the player from drifting due to local input prediction when they stop?

I'm working on a 2D server-client multiplayer game engine (which you can try here). It uses WebRTC DataChannels. (The connections are peer-to-peer, but the host peer still acts as a server.) The ...
12
votes
1answer
11k views

Multiplayer HTML5, Node.js, Socket.IO [closed]

I trying create simple Multi-player with HTML5 Canvas, JavaScript(too using John Resig simple Inheritance library) and Node.js with Socket.IO. My client code: var canvas = ...
12
votes
2answers
320 views

Are there tools for testing multiplayer code?

Are there reliable tools that can simulate real life-like network conditions e.g. networks with different bandwidth, different latencies, packet loss etc...?
11
votes
5answers
2k views

Network layer libraries [closed]

I'm looking for any network layers that are available to add to my game, either free or with fair pricing for indie games. By network layers I mean some sort of library which I can interface with, ...
10
votes
3answers
663 views

I know that my super simple multiplayer setup is probably not a good idea, but why?

I'm making a simple little MOBA just for fun. I was making everything single-player then I realized "oh crap I should probably add multiplayer, huh." I've never done anything with networking before, ...
10
votes
7answers
386 views

How can I make permanent death in a MUD seem acceptable and fair to players?

I have considered writing a MUD for years, and I have a lot of ideas my friends think are really cool (and that's how I'd hope to get anywhere -- word of mouth). Thing is, there's one thing I have ...
10
votes
5answers
636 views

Do you need expensive servers and fancy hosting in order to make a multiplayer game?

I've finished working on an RPG and it would seem so much more fun to make it multiplayer. SFML has a networking feature, I figured it's possible but then again, never in my life have I even tried ...
10
votes
3answers
7k views

Best solution for multiplayer realtime Android game

I plan to make multiplayer realtime game for Android (2-8 players), and I consider, which solution for multiplayer organization is the best: Make server on PC, and client on mobile, all communition ...
10
votes
3answers
777 views

How do you design a record/replay system for a frequently changing game?

I'm working in a free MMORPG and I have a problem. I'm (with other people) developing a video recording system for the game. The idea is basically: we record all the packages sent & received with ...
10
votes
1answer
1k views

Game engine design: Multiplayer and listen servers

My game engine right now consists of a working singleplayer part. I'm now starting to think about how to do the multiplayer part. I have found out that many games actually don't have a real ...
10
votes
4answers
719 views

Implementing match-making & community system for multiplayer games

These days, games often have multiplayer portals with chat channels & match making system for the multiplayer aspects of the game. An example would be battle.net, magic the gathering online's ...
9
votes
2answers
1k views

Authentication for a multiplayer game via sockets

I'm implementing a custom binary protocol for a new multiplayer game I'm working on. Its a turn-based strategy game so timing doesn't really matter. I've currently got the basic data sync portion of ...
9
votes
3answers
3k views

Interpolating positions in a multiplayer game

In order to save bandwidth in my multiplayer game, I do not update every object every server tick, instead each object has an updateRate which tells the game that this object is expected to be updated ...
9
votes
2answers
4k views

How to handle multiplayer in JavaScript?

I'm just doing a bit of research into tech to use for a mobile multi-player game. It's more an experiment at present so for the moment, the only thing that Players need to be aware of is the other ...
9
votes
2answers
3k views

What are the best ways to serialize and unserialize network messages for C/C++ multiplayer game?

We are using JSON right now and want to move to a binary format for some types of messages between client and server. Should I just read structs into the socket? Use proticol buffers/thrift? How ...
9
votes
2answers
1k views

Could I make a multiplayer fps on xbox live as an indie game?

I'm working on make a very basic first person shooter. At some point I would like to make into an indie game on xbox live but will I have access to parties (invite and chat)? Does Microsoft provide ...
9
votes
1answer
342 views

Multiplayer platformer - Are server corrections normally required with a single client on the server?

I am currently working on a rather simple multiplayer platformer. I read quite a bit of articles on the techniques used to hide latency, but I still fail to get my head around certain of the concepts. ...
9
votes
3answers
1k views

What is involved in creating a real-time multiplayer platformer game?

I'm creating a platformer game that has a "co-operative" feature which I'd like to work over networks / the internet. Now I've read up on network game programming including articles like What every ...
9
votes
2answers
866 views

UDP non blocking or a seperate thread for receiving

I am creating a multiplayer game (for under 64 player). I already decided to have a seperate thread for the network loop, but I was wondering if it would be better to create an extra thread for ...
9
votes
1answer
244 views

Efficient solution for multiplayer space partioning?

This question is a little tricky, but I will try to make it clear. Lets say I am building an online game (not MMO-scale), but that supports as many players as possible, in a authoritative server ...
9
votes
1answer
188 views

How should I handle sound in a split-screen game?

In a split screen multiplayer game, sound events may be heard by more than one player, and they might sound different to each player. For example, player one might hear the sound of the car they're ...
9
votes
2answers
1k views

Android real time multiplayer over LAN [closed]

I've developed several games for the android platform and now planning to create my first multiplayer game. What I have in mind is basically just a 2-player game witch you can play with 2 phones over ...
8
votes
4answers
371 views

How would I balance a multiplayer competitive game

I'm looking at my first foray into developing a game, and would love to know whether you guys have any thoughts on game balancing on limited multiplayer games. The game I have in mind involves a ...
8
votes
4answers
2k views

Which Database (RDBMS vs NoSQL vs BOTH) to use for a Realtime Multiplayer Game?

I'm working on a realtime multiplayer game that will require a database (for features such as player profiles, friends, unlocks, news, etc.) This is a standard PC game (not browser-based) and will use ...
8
votes
6answers
3k views

Which server platform to choose

I'm going to write a server for an online multiplayer with these requirements: Pretty simple turn based game (think a card game) that is played entirely on the server (security reasons) Must be able ...
8
votes
3answers
2k views

Best peer-to-peer game architecture

Consider a setup where game clients: have quite small computing resources (mobile devices, smartphones) are all connected to a common router (LAN, hotspot etc) The users want to play a multiplayer ...