Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Online Game: Speed Issues...?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TokenHerbz




PostPosted: Sun Jan 20, 2008 6:48 pm   Post subject: Online Game: Speed Issues...?

So lets say I have this game, basic ping pong. Two users connect like a chat, and take control of each paddle.
What would the speed issues be like with Turing? I've had few speed problems with chat programs, and input reading programs.

Next question, Would the game be greatly effective if we added 1 or 2 more players?

I was going to try to make a game up to 4 players, pong game, Everyone gets to take a side, and if not enough players where in the game the side for that player would become a solid wall, so 2 players can play, even 3. Also i was going to make a computer able to play any side if the user assigned it.

A really complicated pong game, with multiple options of retarded fun Smile

But before i finish i just want to know what kind of speed issues i'll be running into..

Generally there isn't any lag with LAN connections right?
Sponsor
Sponsor
Sponsor
sponsor
ericfourfour




PostPosted: Sun Jan 20, 2008 8:18 pm   Post subject: RE:Online Game: Speed Issues...?

There was an MMORPG made in Turing. The server, however, was done in Pearl (I think). I don't think pong will be an issue with Turing.

A few things you should think about:

What is the client going to do?
What is the server going to do?
What is the client going to send to the server? What is the server going to send to the client?

Four player poing is a good idea. And doing it over a network is better than four people at a keyboard.
Tony




PostPosted: Sun Jan 20, 2008 8:25 pm   Post subject: RE:Online Game: Speed Issues...?

The thing is, some communication might go missing, or delayed, so you have to take that into account. If a movement information packet gets held up in such a way that I think that I have deflected the ball just in time, but your side thinks that the ball went through -- how would you define the common truth?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
TokenHerbz




PostPosted: Sun Jan 20, 2008 10:13 pm   Post subject: RE:Online Game: Speed Issues...?

Thats a good thought tony, How would i work around that kind of issue?
ericfourfour




PostPosted: Sun Jan 20, 2008 11:01 pm   Post subject: RE:Online Game: Speed Issues...?

Let the server do the backend work.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: