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.