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
2answers
363 views

How do we adapt our game to work over a network?

A friend of mine has made a Java version of a popular board game in Java, and has it working for multiplayer on one PC with different turns for each player. He's mentioned he wants it to eventually ...
0
votes
1answer
272 views

network programming: simultaneous IO over sockets?

In my curses based game, I decided to add multiplayer functionality over net, in addition to one-keyboard mulitiplayer game. I use switch loop and in case it's 1st user's buttons, user 1 is acting ...
3
votes
3answers
1k views

Prevent Multiplayer Cheating

I am almost complete developing a small indie-style multiplayer game. While I intend to allow people to cheat in single-player, this is obviously not acceptable in multi-player. Does anyone know of ...
0
votes
1answer
502 views

Resource and game state management for multiplayer game server

I'm building a virtual world kind of engine. It's mostly for fun and learning. But I would like to get it right from the very beginning, so it is stable and can be scaled relatively easily. I've been ...
1
vote
1answer
275 views

android game: how to approach mutliplayer

I'm making a single player game that is near completion, and I am already starting to think about giving the game multiplayer. The multiplayer would basically be finding someone to play against, ...
3
votes
3answers
424 views

How can multiple clients be out of sync if they use the same RNG seed?

I have been working on a client-server architecture to enable LAN play for my open source game, Aigilas. In its current state, players stay synced in all running instances of the game but enemies and ...
4
votes
2answers
406 views

game multiplayer service development

I'm currently working on a multiplayer game. I've looked at a number of multiplayer services(player.io, playphone, gamespy, and others) but nothing really hits the mark. They are missing features, ...
0
votes
1answer
204 views

Handling Latency in Multiplayer Shoot-em-ups

I had an idea for an architecture, and I was wondering if anyone has implemented something like this or has used AWS or some other service to help? I thought about using NodeJS + SocketIO to handle ...
0
votes
2answers
226 views

Any social gaming services for JavaScript games?

I'm currently planning on building a HTML5/JavaScript game for the various platforms (Browser, iOS, Android, and WinMo7). I, obviously, would like there to be simple multiplayer (1v1, asynch), ...
4
votes
2answers
272 views

How to do simultaneous action without it being real time?

This is really a pacing question, but there's no tag for that: The general concept is that the players are working in a team and need to be able to react to eachother's movement and observations as ...
7
votes
3answers
3k views

Realtime multi-player game design principles for Node.js

I've been reading the Valve article on multi-player networking which has been adapted from Yahn Bernier's 2001 paper called Latency Compensating Methods in Client/Server In-game Protocol Design and ...
0
votes
1answer
629 views

How to send an int array and struct via ENet?

I've been using the ENet library for networking and so far it's been working ok. I have established a connection between my client and server. On the client side all it does is send all user input to ...
4
votes
2answers
2k views

How to synchronize clocks in multiplayer game?

I have 2 to 3 clients, that can exchange messages through Apple Game Center. The only synchronization I need is: start the game at the same moment. I guess this involves clock synchronization. How ...
4
votes
2answers
1k views

How to achieve smooth gameplay in a physics based multiplayer game? (2d)

I'm using cocos2d 2.0 and Gamekit for networking. I've got a server/client model. It works over wifi (local) and bluetooth. (Xcode 4.3, Objective C) Basically, there's a ball and 2 or more players. ...
2
votes
2answers
795 views

Architecture for html5 multiplayer game?

Hello I want to write a HTML5 multiplayer game in which there are rooms with two players answering a series of questions with 3 possible answers, 10sec/question, which are being downloaded from a ...
1
vote
2answers
350 views

Deterministic Multiplayer RTS game questions?

I am working on a cross-platform multiplayer RTS game where the different clients and a server(flash and C#), all need to stay deterministically synchronised. To deal with Floatpoint inconsistencies, ...
7
votes
3answers
956 views

Multiplayer tile based movement synchronization

I have to synchronize the movement of multiple players over the Internet, and I'm trying to figure out the safest way to do that. The game is tile based, you can only move in 4 directions, and every ...
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 ...
-2
votes
1answer
722 views

Extremely simple online multiplayer game [closed]

I am considering creating a simple multiplayer game, which focuses on physics and can accommodate up to 30 players per session. Very simple graphics, but smart physics (pushing, weight and gravity, ...
5
votes
1answer
847 views

How often should multiplayer games communicate with the server?

I once heard that Runescape "ticks" every 0.3s, and that seemed like a very long period of time, although Runescape is kind of a slow game. I'm building a more dynamic top-down shooter game, and I'm ...
3
votes
3answers
214 views

Will making players pay a virtual currency before entering a match discourage them from playing?

I'm making a multiplayer match-making game, and by my current design, people will need to pay a small fee before joining a match. At the end of the match, the team that won will get the money. That ...
2
votes
3answers
430 views

Game engine that allows for objects being placed in-game [closed]

I am looking for a game engine with multiplayer support that allows for players to place objects in the terrain. (eg. in TF2 one can place teleporters, etc... or in minecraft one can place blocks). I ...
3
votes
4answers
622 views

Alternatives to a leveling system

I'm currently designing a rough prototype of a mecha fighting game. These are the basics I came up with: Multiplayer (matchmaking for up to 10 people, for now) Browser based (HTML5) 2D ...
2
votes
1answer
249 views

How should bots be recognised in a game?

I'm interested in how bots are usually written. Here's my situation: I plan to make an online 2D mecha game in HTML5, and the server-side will be done with node. It is intended to be multiplayer, ...
0
votes
1answer
231 views

Can a local multiplayer iOS game display differently for each device?

I've seen games which display different data for two devices, but not more than two. If possible, can it be accomplished using GameKit? EDIT: More specifically, I was thinking local multiplayer via ...
1
vote
1answer
600 views

Collision detection in multiplayer games

This a followup to my previous question: How to implement physics and AoE spells in an MMO game?. There, we concluded that all physics have to be done on the server, and that I should use cylinders ...
3
votes
2answers
322 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 ...
3
votes
1answer
633 views

Validating multiplayer actions when using Javascript Game Engines client-side

I am using one of the many javascript game engine (impactjs, craftyjs, melonjs, easeljs etc) out there to handle the animation client-side. And I have a way of calling server-side functions and ...
5
votes
2answers
2k views

FPS networking with server sending input instead of gamestate

Why do all fps games have the server send gamestate instead of input which is smaller? One reason I can sort of see is that if the server sends input to the clients and a packet gets dropped then the ...
1
vote
1answer
2k views

Client-Server RTS networking with lockstep and lag

The peer to peer lockstep networking model would seem to indicate that everyone's input is delayed the same amount. And so this would indicate that everyone would feel the same lag in response to ...
7
votes
2answers
533 views

Detecting wins in peer to peer RTS games like Starcraft

A typical RTS game is implemented with the standard networking model: peer to peer lockstep. Consider Starcraft 2, given that Battle.net presumably doesn't know anything about the state of game given ...
6
votes
3answers
800 views

Networking for RTS games with lockstep using UDP

Apparently from what I can gather Starcraft 2 moved to UDP in a patch. Now obviously with fps games there is no dispute that UDP is the only way to go. But with RTS games what benefits does UDP give ...
2
votes
1answer
306 views

Client Server UDP Jumping

I don't really think this is an issue with the fact that UDP can drop packets (I'm using Lidgren and using ReliableInOrder), but basically, in my game, the client send the input keys (if forward is ...
3
votes
2answers
1k views

Determinism in multiplayer simulation with Box2D, and single computer

I wrote a small test car driving multiplayer game with Box2D using TCP server-client communcations. I ran 1 instance of server.exe and 2 instance of client.exe on the same machine that I code and ...
0
votes
1answer
2k views

C# multi-player socket server (need clarification/suggestions)

I've been working on an 2D-RPG for a while and I recently decided to make it into an MMO (not really massive, but multi-player). Anyways, I'm attempting to write a game server in C#. Yes, I know I ...
2
votes
3answers
845 views

What's an efficient way to represent game state for networked games?

I've done a little bit of network coding for games before, but primarily with TCP for games that don't really need to simulate real-time interaction. I am working on a (somewhat) simple 2D Java game ...
4
votes
4answers
439 views

How do you get a multiplayer-only game to reach critical mass?

Say you have a multiplayer-only game in which players are randomly paired head-to-head against a random online player... How do get such a beast off the ground? You need enough players online at ...
5
votes
2answers
2k views

What data to exchange in multiplayer real time games?

I am a hobbyist programmer and right now I am curious about what data is exchanged in a multiplayer session in real time games like starcraft 2. I did a bunch of searches. I found gafferongames.com ...
1
vote
2answers
306 views

Resources for game networking in Java

I am currently working on a Java multiplayer game. The game itself (single player) already works perfectly fine and so does the chat. The only thing that is really missing is the multiplayer part. ...
3
votes
2answers
167 views

Making online battles take time

Let's say I have an account on an MMORTS and I send my 10,000 strong army to a location on the map. I then shut off my computer. Another player gives orders to his 10,000 strong army to walk to the ...
3
votes
2answers
825 views

Elegant way to handle packet loss in a lockstep P2P RTS?

What's an elegant way to handle packet loss in a lockstep simulation peer-to-peer RTS where only player input data is sent over the network? For example, let's say it's tick 1000 and player 1 sends a ...
0
votes
3answers
3k 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 ...
3
votes
1answer
288 views

Architecture of an action multiplayer game from scratch

Not sure whether it's a good place to ask (do point me to a better one if it's not), but since what we're developing is a game - here it goes. So this is a "real-time" action multiplayer game. I have ...
-2
votes
2answers
543 views

Multiplayer game over internet

How to construct my multilayer mode for my Delphi game? For LAN I use UDP server/client. But for internet I think UDP is useless. I have in mind something like: The host create SQL database and ...
2
votes
2answers
475 views

What are my tool options to prototype a 2D online multiplayer game? [closed]

I'm looking for the best tool to allow me to quickly put together a 2D game that relies largely on networking. It's extremely likely that this game will require a server side program to constantly ...
8
votes
1answer
224 views

What data should be cached in a multiplayer server, relative to AI and players?

In a virtual place, fully network driven, with an arbitrary number of players and an arbitrary number of enemies, what data should be cached in the server memory, in order to optimize smooth AI ...
2
votes
2answers
1k views

How to display image in second layer in Cocos2d

I am very new at Cocos2d and is testing to displaying an image over the "Hello World" text on a second layer and need help to get it work. I guess it is some basic stuff here and appreciate any tips ...
9
votes
1answer
245 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
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 ...
7
votes
4answers
1k views

Server-side physic simulations with hundreds of players

I’m currently working on a singleplayer physics-orientated game where I would like the physics to be simulated server-side. This because the game will have leadersboards, persistant player ...