About tags
I noted this as Java and the question in C ++. This means that I am not looking for answers in specific languages. I just noted C ++ and Java, because I own them and, most likely, I will understand your code samples if they are written in these (or similar) languages.
What am I looking for?
Pointers and insight into security , I need to consider when developing software, mostly games such as described below. For security, I mean checking and double checking that the user is not acting in a way that is not intended. This may mean behavior such as sending his / her updated collection of the most malicious viruses existing on the server / other clients, or otherwise jeopardizing the user experience for other players, for example, by hacking.
Expected Comments and Responses
You ask how to stop people from hacking your game?
- , . , , (), , .
X
CodeReview Programmers; . , ( ADTC), . , SO. , , , , , , . , SO Programmers, , , , .
, Sockets. Google .
. , , , . , , .
?
, , . -, . , , .
.jar, . () , .
, . , , , , 30 .
.
:
package template
import snake.*;
public class TemplateLogic extends SnakeLogic {
@Override
public void onLaunch() {
}
@Override
public String getMove() {
return "UP";
}
}
, , , String ( "", "", "", "",), . , , .
, . , , , , , , . , . , . .
, , , , ()? , , Thread.sleep(): , 10 . , , / , .
Off-:
@Darinth : , , -, . , : , , , , .
- ? , , .
, , , . , , . .
.
,
- . , , , ( 4 , 2 , 2 , , , ..). , , @ToYono, .
. ( ). @ToYono.
. . , , , , . @Surt.
.. , . @Darinth , , .