How do I hide my javascript/jquery scripts from html page  (from view source on right click)? please give suggestion to achive this .

Thanks.


Question: How to synchronize actions like jump in multiplayer?
Answer: There is a fairly detailed write up regarding the source engine. It would appear some of the relevant source code is also available as part of the Source SDK.

https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking

It uses a number of techniques to try and deal with network latency in a server-client model. The main point seems to be that the local client handles input and other events locally as if there was no server, and then deals with the possibility the server says the client did it wrong later.