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
24
votes
3 answers

How online-game clients are able to exchange data through internet so fast?

Let's imagine really simple game... We have a labirinth and two players trying to find out exit in real time through internet. On every move game client should send player's coordinates to server and accept current coordinates of another client.…
Kirzilla
  • 16,368
  • 26
  • 84
  • 129
11
votes
6 answers

Online gaming, or something faster then ajax for sending/receiving data

I'm making this as short as I can. What I've done so far: The game I have will be running with JavaScript using setTimeout or setInterval. It's not flash or anything special. What I have made so far as like a test run (so you can understand better),…
Hybrilynx
  • 185
  • 1
  • 2
  • 9
9
votes
15 answers

Preventing cheating in online chess games?

In many online chess lobbies, I've seen instances of 'engining', where a cheater would open a chess program at the same time as the main game window. He would then set it up so that the opponent's moves are relayed to the computer, then which he…
gamedevv
  • 315
  • 1
  • 4
  • 8
7
votes
3 answers

Java bot for an online game

I am creating a bot in java using the java.awt.Robot. The bot works fine on a browser (I have also tested it using Microsoft Word!) but when I run it in the game, the only function that works is the mouseMove. I want to build a bot that simply…
George Artemiou
  • 3,076
  • 2
  • 19
  • 36
6
votes
8 answers

Why are (almost) all the on-line games written in ActionScript (Flash) not Java?

I absolutely love good defender games (e.g. Gemcraft, Protector: reclaiming the throne) as they can be intellectually quite challenging; it's like playing chess but a little less thinking and a bit more action. Sadly, there are not that many good…
Peter Perháč
  • 20,434
  • 21
  • 120
  • 152
6
votes
3 answers

Python Drawing ASCII Map

I need to have a 2 radius map drawn off the player's current room in a MUD I'm building in python (or more, if possible). Rooms are set up as containers with a self.exits = {'west':1, 'north':2} where the key is the direction that the value (UID of…
jtsmith1287
  • 1,110
  • 2
  • 13
  • 24
5
votes
1 answer

Design pattern suggestions for syncing multiple-user data in an online game in real-time

I'm working on a project to learn node.js, and was looking for some suggestions on how to handle syncing user data in real-time. Say you have a 2D rectangular map (roughly 600x400), with a number of players occupying x,y positions on that map. Each…
Jeriko
  • 6,547
  • 4
  • 28
  • 40
5
votes
0 answers

What design patterns/architectures are used for achievements processed in online games

One thing that has always made me curious is how online games are able to process in real-time really novel or unique achievements and instantly give you a badge. Simple things like get 10 kills or finish a level seem easy enough, but things like…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
4
votes
1 answer

HTML5, JS gaming engines for mobile

Suggest a few open source HTML5+JS gaming engine for mobile browsers. Should work on IOS and Android browsers.
Niroop
  • 409
  • 1
  • 6
  • 13
4
votes
2 answers

What database to choose for massive amount of connections and concurent writes (online game)

I'm gathering information for upcoming massive online game. I has my experience with MEGA MASSIVE farm-like games (millions of dau), and SQL databases was great solution. I also worked with massive online game where NoSQL db was used, and this…
RawCode
  • 1,073
  • 8
  • 13
3
votes
6 answers

How to code an web-browser based multiplayer game?

If I wanted to code a desktop-based game, I could pull some XNA code and UDP sockets and make a decent multiplayer game. I would have an extremely clear of how to code the game I wanted. But if I wanted to code a browser-based online multiplayer…
Rudi
  • 341
  • 2
  • 5
  • 6
3
votes
1 answer

NAT Traversal using only free STUN and TURN servers in C#

I am trying to make an online game application, which communicates with another pc peer-to-peer over the Internet. Since both pc's are likely to be under NAT, and since I cannot afford an external server, I thought the only way is to use free STUN…
eivour
  • 1,678
  • 12
  • 20
3
votes
4 answers

How to live update browser game attributes like the 4 resources in Travian game?

I would like to make a web-based game which is Travian-like (or Ikariam-like). The game will be in PHP & MySQL-based. I wonder how can I achieve the live updating of game attributes. For frontend, I can achieve by using AJAX calls (fetch the latest…
Raptor
  • 53,206
  • 45
  • 230
  • 366
3
votes
1 answer

Is HTML and suitable for an online Gameboy-style game?

I'm planning on creating an online Gameboy-style game (I'm planning on trying to recreate the game as true-to-life as possible without directly emulating it), but I'm not certain what technology I might use. For reference, I'm intending to try to…
Nightfirecat
  • 11,432
  • 6
  • 35
  • 51
2
votes
0 answers

Java Robot for online game

I'm new in java and trying to make bot for online game and get some practice. And i have some questions, how to make my KeyListener to work when my program (java) minimized so i can minimize my java bot then open my game (its in window mode) and…
1
2 3 4 5 6