R
R
rch42016-03-12 20:51:33
Game development
rch4, 2016-03-12 20:51:33

How to organize a server for an online game?

Colleagues!
I am making the first online game in my life (Unity3d) and suddenly realized that I have no idea how servers for online games are organized. I don’t even know how to approach, initially it seemed like a good idea to make an api and send http requests to it from the client, but it seems to me that I got excited and I’m doing it wrong, so I need your advice: -
Which protocol should I choose for communicating between the client and the server?
-How to securely transfer the user's login and password (since apparently, https won't work for me) without reinventing the wheel in the form of your own implementation of encryption?
-Since I want to do a pilot version of the project on the .net platform and using c#, what type of application will suit me best? Initially, I was going to use webapi, but, as I said above, apparently I got excited, is there a console one?
PS I understand that .net and c# are not very suitable for a server, but I would like to get a prototype as soon as possible and then rewrite it to something more suitable.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
helvit, 2016-03-13
@rch4

I recommend a ready-made solution for games - Photon Server. You will find all the basic server functionality that you need (including encryption) there. All additional code is written in C#. The free version has up to 100 concurrent users.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question