Questions tagged [online-game]

"Online" games are played over the internet (as opposed to "offline" on a local machine) and usually allow multiple players to interact with one another in some way. Popular examples include first-person shooters and massively-multiplayer RPGs.

"Online" games are played over the internet (as opposed to "offline" on a local machine) and usually allow multiple players to interact with one another in some way. Popular examples include first-person shooters and massively-multiplayer RPGs.

80 questions
1
vote
1 answer

Need help identifying a bit manipulation technique

I need help identifying the following technique. Is a lengthy read so please try to follow. My question is if this is a known standard, does it have a name, can anyone relate or seen this before. What is the benefit. Also in case you wonder, this is…
Hydrogen-4
  • 187
  • 1
  • 1
  • 15
1
vote
1 answer

Where to Store User Specific Online Game Data

I am trying to create an online board game using Play framework. This is my first such application. It is important to have good response time for the end users. Lets imagine a game like monopoly where multiple users play the game, buy different…
Srijith K
  • 11
  • 3
1
vote
1 answer

Can I create a online game using meteor like slither.io?

I'm wondering about meteor reactivity and I have an idea about one online game like slither.io. Can I create online game because meteor optimistic UI offers simpliest way to update data without reloading the page. Does it possible ? Sorry for…
user6215342
1
vote
1 answer

call js function in php with multiple parameter

hello everyone i try to write a php game and my problem is i want to call call js function in my php code amd i wrote echo "

".$str1."

1
vote
1 answer

Developing the server-side of a online multiplayer game

I have some key question in developing the server of a multiplayer game. I need the best concept then I will use that in both C# and PHP. Currently I want to make a game like this: The button racket is mine and the upper is yours. I need to…
ConductedClever
  • 4,175
  • 2
  • 35
  • 69
1
vote
1 answer

Security to prevent hacks in a game with node server

I am making a browser card game. Each player has a number of purchased cards out of a big pool of available cards. I need to make sure a player can not hack the cards he uses from the browser, so the server must authenticate he owns each card he…
ilyo
  • 35,851
  • 46
  • 106
  • 159
1
vote
1 answer

Why can not I open a UDP connection on the client side (in browser)?

I know that there WebSockets. I looked at it from itself is an example of language dart. void initWebSocket([int retrySeconds = 2]) { var reconnectScheduled = false; outputMsg("Connecting to websocket"); ws = new…
Dima00782
  • 171
  • 1
  • 3
  • 13
1
vote
0 answers

Use local images in Internet Explorer control for windows phone

I'm planning to create a game for Windows Phone. To make it simpler to port it, I want it to be HTML-based and as it's an online game, it get's the html pages via http. But to minimize the data use, I want all the images in the game to be in the…
jalgames
  • 781
  • 4
  • 23
1
vote
2 answers

Check if a point goes through a line

I am programming a game in HTML5 canvas. If a line touches any point of its own or opponents line, that line stops moving. The Function I wrote follows below. function hasPoints(x, y) { for (var i = 0; i < points.length; i++) { if…
kk-dev11
  • 2,654
  • 5
  • 37
  • 48
1
vote
3 answers

Which azure option is good for my TCP game server using node.js?

I am new to Microsoft windows azure cloud and want to run my game server using node.js in azure cloud. I read the windows azure Node.js Developer Center site and it seems my server can run in azure cloud multiple ways. Which azure option is good for…
Bob
  • 13
  • 3
0
votes
1 answer

How to make a series of dice rolls secure in a client/server scenario?

Imagine the following situation in a game: A series of random numbers is presented to the player. Each number is shown to the player for a short period of time before it goes to the next one. It is the player's aim to pick a high number. He or she…
rob
  • 83
  • 1
  • 6
0
votes
0 answers

How can i listen an event in a specific room in socket.io

Hello Every I am building an online game where two users can connect in a lobby and play game basically the error is i cannot listen on event in the server side in the specific room Here is the code const MAX_USERS_PER_LOBBY = 2; let lobbies =…
0
votes
0 answers

Mirror Error: "TargetRPC {functionFullName} can't be sent because it was given a null connection. Make sure {name} is owned by a connection

enter image description here public void CmdCreateSelection() { List myLocalList = new(); for (int i = 0; i < cardsPrefab.Count; i++) { GameObject card = Instantiate(cardsPrefab[i], holder); …
0
votes
0 answers

Socket an invalid argument was supplied in python

import socket from _thread import * import pickle server = "192.168.0.171" port = 5555 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: s.bind((server, port)) except socket.error as e: str(e) s.listen(2) print("Waiting for…
0
votes
2 answers

How to avoid Realtime database onWrite trigger function callback iterate data but data has changed

I am making a 1 vs 1 game matching system with the help of realtime database. When user sign in, it will generate a record in users table. When there are 2 player user status are placeholder then cloud function will generate a gameInfo for these 2…