Dear Photon staff and members,
I am developing a small card game to get experience on networking and game development.
After some research I have chosen to use PUN for the simplicity of using it for cross platform and no hassle with NAT punchtroug, firewall etc..
Now I have 3 questions which i need to know before I begin with programming the networking code.
1: When you download the server software, is it possible to code server side logic? I want that the server distributes the deck to 4 players, hold track each hand who gets the point, and at the end when all cards are used it must determine who has won, I have already all of this logic, but at the moment the first player of the room handles all the logic, I am a bit afraid of hackers. So if it is not possible to hack my current system I don't need server side logic, but if there is a big chance that people can do it I want to be secure and if possible let the server handle the logic.
2: If someone leaves I want to have the deck he has passed to the next player that joins, is this possible? If yes can someone give me an example? (demo or tutorial)
3: I want to store data about the amount of points, amount of victory, loses, but i don't know how to do it actually, are there some demo's or tutorial's?
I don't expect a lot for my first game, maybe at its peak 500 CCU? But I want to create as perfect as possible networking system to get experience. That's why I ask questions about hacking and server side logic, to get prepared for the bigger games I want to make in the future.
With kind regards,
Speedt4
I am developing a small card game to get experience on networking and game development.
After some research I have chosen to use PUN for the simplicity of using it for cross platform and no hassle with NAT punchtroug, firewall etc..
Now I have 3 questions which i need to know before I begin with programming the networking code.
1: When you download the server software, is it possible to code server side logic? I want that the server distributes the deck to 4 players, hold track each hand who gets the point, and at the end when all cards are used it must determine who has won, I have already all of this logic, but at the moment the first player of the room handles all the logic, I am a bit afraid of hackers. So if it is not possible to hack my current system I don't need server side logic, but if there is a big chance that people can do it I want to be secure and if possible let the server handle the logic.
2: If someone leaves I want to have the deck he has passed to the next player that joins, is this possible? If yes can someone give me an example? (demo or tutorial)
3: I want to store data about the amount of points, amount of victory, loses, but i don't know how to do it actually, are there some demo's or tutorial's?
I don't expect a lot for my first game, maybe at its peak 500 CCU? But I want to create as perfect as possible networking system to get experience. That's why I ask questions about hacking and server side logic, to get prepared for the bigger games I want to make in the future.
With kind regards,
Speedt4