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

1
vote
1answer
54 views

How can I communicate changes to a 2D tile-based world state in a P2P context?

Suppose two players in a game want to build a city together on a blank tile-based game world simultaneously in a peer-to-peer connected context. When a player clicks on a tile it changes the state ...
-5
votes
0answers
45 views

How do I improve my game's economy? [closed]

I've just finished working on my online economy strategy game. How do I make the economy work better? To keep it stable, I want the amount of money in the game to shrink when people leave the game.
0
votes
0answers
52 views

How game developer uses AI for own game? [closed]

In computer science, AI means all machine learning methods that train data and extract patterns and use of test data. I am confused that how used AI in current games. Are AI in games based on learning ...
0
votes
1answer
78 views

Developing a general use multiplayer API [closed]

I'm tasked with the development of a general use multiplayer API in JavaScript, with a Node.js back-end. The goal of the API is to provide a service to JavaScript mobile game developers so they can ...
1
vote
2answers
79 views

Handling packet impersonating in client-server model online game

I am designing a server-client model game library/engine. How do I, and should I even bother to handle frequent update packet possible impersonating? In my current design anyone could copy a packet ...
4
votes
2answers
206 views

Can game replays be used as cheat protection?

Say you're writing a complex turn based multiplayer strategy game in the browser (i.e. JavaScript). The game state is big and complicated (think line of sight calculations in a 3d world). There can be ...
0
votes
3answers
2k views

How to make game sessions like “with friends” games?

I want to make a game like "words with friends" or "chess with friends" or "Draw Something" or any of the other online multiplayer type games that are based around friends having game sessions with ...
0
votes
1answer
189 views

Basic Connections Through Socket Server

I'm designing a simple 2 player RTS with Stencyl, a program that uses blocks for coding. The current code updates lists whenever an actor moves (new X and Y), and I'd want the server to update the ...
0
votes
2answers
97 views

Synchronizing mob states in online multiplayer game

I'm developing an exploration-based platform game in which from the start there were plans about including local multiplayer support, but recently I've been considering an online multiplayer mode, ...
1
vote
1answer
101 views

Unity3D Multiplayer Networking

I am making a multiplayer game using Unity3D, similar to SecondLife (but focusing on a particular gameplay task). Users will be able to register/login directly in the game and their character will be ...
1
vote
0answers
54 views

Message Authentication Codes for Multiplayer? [closed]

Is it common that in multiplayer games, network messages are signatured with a Message Authentication Code? If so, do you think it is performance consuming?
1
vote
1answer
71 views

How should I go about protecting my script files?

I am working on a small multiplayer game with a whole bunch of scripting components. I know I can't store my files in plaintext otherwise anyone would be able to change the functionality of core ...
0
votes
0answers
94 views

Improve interpolation in 2d multiplayer game

I have a problem to solve while prototyping networking for a 2d game. Here's what I have so far and what's giving a headache: I run a multi-player session where one host is an authoritative server ...
3
votes
2answers
299 views

Is client-side prediction supposed to cause lag?

I found this general question, but I'd like clarification on a specific point. Consider this simple scenario: Client A sends input to move at T0. Server receives input at T1. All clients receive ...
15
votes
3answers
3k 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 ...
1
vote
0answers
81 views

What are the disadvantages of client-side prediction?

There's lots of talk of server-side prediction, but I haven't seen a client-side alternative implemented anywhere. My game uses mouse-based movement, so it's easy to predict the player's location ...
13
votes
2answers
478 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 ...
2
votes
1answer
301 views

Browser UDP Relay with TCP Websocket

I'm wondering if this is possible and what obstacles I might face. I have a game that's browser based, and since I can't send UDP packets from a browser, Can I use a plugin that the browser connects ...
7
votes
3answers
342 views

How can I keep two racing players synchronised?

I am working on a Unity mobile game, much like a multiplayer version of Temple Run. I'm seeing a fluctuating network latency (generally 200-500ms) because of the mobile platform. The two player ...
-1
votes
2answers
133 views

Do I need threads in Hangman game? [closed]

I wish to implement a simple multiplayer Hangman game with the rule slightly bended. Rule: All the players have to guess the alphabets in the word at the same time. Whoever player guesses a correct ...
18
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 ...
1
vote
2answers
170 views

Should I use threads to check sockets for multiplayer game?

In a multiplayer game does the code to get/send info from/to sockets reside in the game loop or does it belong in its own thread?
0
votes
1answer
53 views

Handling latency in realtime music/rhythm-based games

Suppose I am making a co-operative multiplayer music-based rhythm game -- two players, side by side, move their cursor/avatar left and right with their mouse and attempt to hit or dodge obstacles that ...
1
vote
0answers
41 views

Designing & Implementing a generic actions & communication system [closed]

I'm currently in the process of redesigning the action/communication/sound system of some small game. This part currently handles characters speech and emotes. The game itself allows for a lot of ...
1
vote
2answers
553 views

Multiplayer game sdk for ios and android [closed]

I am working on a multiplayer game supporting Android and IOS. For IOS Game-Center seems promising. But its IOS only. OpenFeint could be a option, but now GREE has stopped supporting it. Is there ...
2
votes
2answers
146 views

How do I maintain an online users list?

In a multiplayer JavaScript game client, is it a good idea to poll the server periodically to refresh online user list, or keep track of joined/left users? Is there a better option?
0
votes
2answers
2k views

What technologies were used to create “Dueling Network”? [closed]

I want to make a similar browser online multiplayer game like "Dueling Network" (link below) but for a different TCG. What technologies you believe they used to create it? Could anyone kindly refer ...
1
vote
1answer
132 views

How many leaderboards can I have in Android via Google Play?

Question is simple. I have one game with multiple levels(say around 90) distributed amongts different amongst different worlds. Am I reading this right and it means I can only have 70 individual ...
0
votes
1answer
209 views

Android local multiplayer

I am working on a FPS game for Android and I want to make a support for local multiplayer with no additional devices or server required. One of the player's devices would serve as a server, getting ...
1
vote
4answers
363 views

What would be best practice of client comunication in a multiplayer game

Assume that we have a multiplayer game and the users are moving their characters (might be a circle) on the game area. At every game loop some changes can be happened. Should clients send their ...
1
vote
1answer
171 views

Hobbyist game dev, want to create async multiplayer game. Are server costs manageable? [closed]

I want to make the game I want to play, and that game happens to be an asynchronous multiplayer game. Think Hero Academy or Hearthstone, where there are 2 players and each submits moves to a central ...
1
vote
1answer
523 views

Multiplayer in a game. How to design it object wise?

I was suggested on StackOverflow to ask this question here. I'm working on a simple game and I was thinking of adding multiplayer feature but I'm a bit stuck. I'm not sure what approach should I ...
3
votes
3answers
202 views

Limitations of p2p multiplayer games vs client-server

I am reading up on multiplayer game architecture. So far most of the articles i've found deal with the client-server model. I'd like to know what are the limitations for using a p2p architecture? ...
3
votes
0answers
48 views

Which game logic should run when doing prediction for PNP state updates

We are writing a multiplayer game, where each game client (player) is responsible for sending state updates regarding its "owned" objects to other players. Each message that arrives to other (remote) ...
-1
votes
1answer
102 views

Show message to one player issue in multi-player game

I Needed to show message to only one person of the multi player game,i am using smartfoxserver to developed a board based game and in this game how to differentiate 2 players in unity c#,and also how ...
4
votes
2answers
147 views

How do I synchronise real-time moves of players on a grid?

I'm working on a real-time game based on a grid. Each player can move a single square at a time. A server tracks the game state and notifies clients of changes. It's possible for two players to make ...
0
votes
1answer
236 views

Creating and joining a multiplayer game over a LAN

I'm trying to create and join a multiplayer game that has been created from a custom UDK installation. It works correctly when two (or more) instances of the game are created on the same computer and ...
8
votes
2answers
3k views

Online multiplayer game basics [closed]

I'm currently working on a c# online multiplayer game in real-time. The aim is to have client/server based connection using the UDP protocol. So far I've used UDP for players' movements and TCP for ...
7
votes
3answers
3k views

Tips for communication between JS browser game and node.js server? [closed]

I am tinkering around with some simple Canvas based cave flyer game and I would like to make it multiplayer eventually. The plan is to use Node.js on the server side. The data sent over would ...
1
vote
5answers
238 views

How to correctly aggregate networked data into UDP packets while avoiding fragmentation

I am starting to get my feet wet with game networking, having iterated many times now on some simple 2D games. For learning purposes, I've read the fantastic Gaffer on Games networking article a ...
6
votes
4answers
333 views

Passing data between engine layers

I am building a software system (game engine with networking support ) that is made up of (roughly) these layers: Game Layer Messaging Layer Networking Layer Game related data is passed to the ...
1
vote
1answer
136 views

Algorithm for smoothing a network object's movement

We are building multiplayer game where there's no central server managing the game. Each player is responsible for sending out its state to all connected players. In addition, all clients run ...
8
votes
4answers
190 views

Sending state diffs (deltas) and unreliable connections

We're building a realtime multiplayer game, in which each player is responsible for reporting its state on every iteration of the game loop. The state updates are broadcasted using unreliable UDP. ...
0
votes
1answer
445 views

Multiplayer Network Game - Interpolation and Frame Rate

Consider the following scenario: Let's say, for sake of example and simplicity, that you have an authoritative game server that sends state to its clients every 45ms. The clients are interpolating ...
0
votes
3answers
191 views

Send info about gun shots via UDP

I am writing a small multiplayer game in C++. But I am confused about how to send info about gun shots to achieve best performance. I am thinking of different ways to do that: Let's say we have a gun ...
14
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, ...
5
votes
1answer
191 views

Running multiple box2D world objects on a server

I'm creating a multiplayer game using LibGdx (with Box2d) and Kryonet. Since this is the first time I work on multiplayer games, I read a bit about server - client implementations, and it turns out ...
0
votes
3answers
183 views

Multiplayer object interpolation

Currently I'm participating in a multiplayer game project as a network developer. Unfortunately, however, I'm facing an interpolation problem which makes game objects look like they are ...
1
vote
1answer
158 views

Syncing world in a multiplayer

I have been working on a client-server architecture for my multiplayer game. The server is used for communication between Clients. There is no cheat control because I trusting all clients :) I don't ...
2
votes
1answer
110 views

Input prediction and server re-simultaion

I have read plenty of articles about multiplayer principles and I have basic client-server system set up. There is however one thing I am not clear on. When player enters input, it is sent to the ...