Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Game Development and the fly likes Moving from SP to MP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Moving from SP to MP" Watch "Moving from SP to MP" New topic
Author

Moving from SP to MP

Tomas Kava
Greenhorn

Joined: Oct 09, 2013
Posts: 1
Hello, I have created mini basketball. Actually, there is a player(oval) who moves around the basketball court, there is also a ball, player can pick the ball, pass it to the all directions, move around with it. I was keeping in mind, that I would like to publish this game on the internet. Now It is that time, I want to know few things, maybe you can give me the answer.

Does server can be created only with java?
I mean, I used to write mini chat programs. When Client is created with Java, and server also, is a java class which uses threads to communicate with clients. Is here the same situation?

If the answer to the first question is "yes", then what I need to put my server 24/7 available?
I was thinking about the idea, to let for players to download the client program and keep server inside somewhere. So, do I need to offer Virtual private server, or I can live on with hosting?

How should I run my server?
Do I need to upload server in the FTP? How should I make that server running? Does it is done with some commands?

Does the game logic should be in the server?
I have read, that client should just listen for inputs and updates the view. Is that mean that my all work is worthless? Because my game logic is inside client class.

Thank your for your answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Moving from SP to MP
 
Similar Threads
help with tcp causing lag in ping pong game
online multiplayer snake game: packet overhead
Multiplayer
Where to put method that creates core of a class?
bouncy ball applet image problem