gpt4 book ai didi

java - 对我的 Android 游戏进行逆向工程 + 预防

转载 作者:行者123 更新时间:2023-12-02 06:59:23 27 4
gpt4 key购买 nike

我为 Android 手机构建了一个非常简单的游戏。

游戏非常简单:每当屏幕从蓝色变为红色时,您应该按下屏幕。

(分数取决于你按下的速度,排名较高的熟练玩家应该是 react 时间非常低的玩家。)

有一个高分板供所有玩家查看。

这个delayTime被发送到服务器来存储所有玩家的时间。

我的问题是:

1)人们是否有可能对我的应用程序进行逆向工程并实际减少响应延迟的变量?延迟是用时间戳来测量的:

long userDelayTime = timeNow - timeScreenTurnedRed;

然后发送到服务器。

如果逆向工程像人们所说的那么容易,那么有人可以执行以下操作:

long userDelayTime = randomedRidiculouslySmallTime;

并获得巨大优势..

2)我怎样才能避免这种情况?

3) 如果我打算在网站上重新创建这个游戏,我会遇到同样的问题吗?如何在网站中避免这种情况?

谢谢!

最佳答案

1) Is it possible for people to reverse engineer my app and actually reducing the variable of the response-delay?

是的,绝对。

2) How can i avoid this scenario?

在 Android 应用程序中,我看不到任何选项来避免您的问题:S。有人至少有你能破解的天赋。

3) If i'm planning on recreating this game in a website, will i have the same issue? how can i avoid this scenario in a website?

如果您在网络服务器中创建游戏,那么它会更加安全。在 Android 中,有人可以使用逆向工程机制重新创建您的 apk。但是,当游戏位于网络服务器中时,他必须获得访问权限,因此肯定更加安全。

关于java - 对我的 Android 游戏进行逆向工程 + 预防,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16870941/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com