Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't recommend resolving actions on the server in any situation:

For actions that require secret information, you would filter the actions sent to the client of any secret information and make sure the code handling the action can handle both the action and the filtered actins.

For actions involving RNG, make all randomness rely on a seed. This seed would be stored server-side and passed along the action when sent to the client. This makes sure the clients can deterministically reproduce the update.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: