A bi-directional WebSocket protocol makes possible more interaction between a browser and a web site, facilitating creation of real-time games.

learn more… | top users | synonyms

0
votes
0answers
25 views

Library for asynchronous client to client messaging [closed]

I am currently developing an online game where two players can play against each other (something like Who Wants to Be a Millionaire?). And I would like to implement an asynchronous service so those ...
0
votes
0answers
42 views

Socket.IO setImmediate loop for each connected player

Instead of doing a game loop, I would like to do something different. My game does not have a ton of action going on, just moving users over a Tile Map with correct timers in between. Since I am ...
-3
votes
0answers
78 views

Multiplayer card game and required techonologies [closed]

I am developing a multiplayer card game. The initial setup of the game is something like. User comes to the app choose a table. If there are already three users she can play otherwise she has to wait ...
0
votes
2answers
169 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 ...
2
votes
2answers
144 views

Collision detection in pong style multiplayer network game

I've recently implemented an authoritative server (node.js with socket.io) for a multiplayer pong game. I've looked at client side prediction and fixing timesteps and starting to grasp the notion of ...
1
vote
0answers
132 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 ...
2
votes
1answer
196 views

Particle systems on multiplayer games

I'm working on a 2D javascript/Three.js multiplayer game, using web sockets and an authoritative server currently written in Python. The combat mechanic will be similar to Geometry Wars however i'm ...
1
vote
1answer
200 views

Architectural advice - websockets javascript/php integration

Myself and a friend have started making a game, he's likely to be using impact.js for the user interaction etc, but we need multiplayer functionality so some form of websockets for TCP connections ...
3
votes
4answers
612 views

Turn based game - HTTP or WebSocket?

My game will be a turn based game which will need a server gateway in order to send requests. What would be better for the server: using REST HTTP GET for making the requests? Or using WebSocket which ...
2
votes
2answers
796 views

How to build a turn-based multiplayer “real time” server

I want to build a TCG for mobile devices that is multiplayer over the web (not local wifi or bluetooth). As a player plays cards I want the second player to see what is being played in "real time" ...
0
votes
2answers
229 views

How to handle multiple game sessions where players turn can timeout, using Python and Socket.IO?

I want to make a multi player card game, allowing several people to play with each other (each game session should be able to have between 5 - 10 players). I'm doing this in Python (Django and ...
2
votes
2answers
805 views

In Socket.IO, should I use JSON for communication between server and client?

I'm building an MMO with Socket.IO and Node.js. It works quite fast (though I don't have 1000 players yet) but my feeling is that it's not very optimized. JSON is super cool and easy to use within ...
3
votes
5answers
413 views

How to keep track of players nearby other players in an MMO

I'm confused how to handle the players in my MMO server (using Socket.IO but I think this should apply to any MMO). Suppose there are 2 players in my server that are far away from eachother. I will ...
3
votes
1answer
146 views

What is the best method to serve a real time game on websockets?

The game consists of a world with just one force, gravity. All the players can do is jump and set their velocities with arrow keys. Physical AABBs and sphere's are used for collision. What is the ...
3
votes
1answer
1k views

Latency benchmarks for WebSocket games?

I'm trying to find some actual latency benchmarks for using WebSockets in HTML5 games. If I were to go down this route, I'd probably end up using (as you might expect) Node.js and Socket.IO. However, ...

1 2
15 30 50 per page