一只孤独的小鸡 发表于 2025-2-9 16:29:54

难搞的五子棋

本帖最后由 一只孤独的小鸡 于 2025-2-9 16:43 编辑

昨天答应过大家给大家做一个可以联机的五子棋。可是我发现,制作这玩意要前端后端
并且还要开服务器。我把我家给砸了,一毛都没有找出来,后来我在deepseek 问,大家都知道,云服务器大多数用Linux系统,我上网查了查,安卓也是他的什么什么(不记得了,懒得再查-_-||)所以我们可以用安卓当服务器,用虚拟局域网来联机。你可能会问,怎么知道局域网?放心,我做了一个聊天系统。敬请期待吧。(๑•.•๑)
有人说我那个版本的AI**,一岁小孩都能过。的确,因为那个版本的还是随机下的。
现在我直接就用两个算法。附带一系列高级函数。也就是将ai提到最高难度。如果感觉自己能赢AI的,点击下方留言。还有登录注册。只需要写出名字和密码。没钱发短信。╯▂╰而且你也不想搞这么复杂的。对吧?😌看到这里,你还认为我会拿你的短信验证码去…并且赢一局AI还有五个金币,每天排行榜前五名。签到五金币。并且还有邀请码管理员。房间与闲聊。这都是后续内容。
好了,反正会慢慢更新完善。有机会还会做成软件。另外,如果愿意自愿帮助。那就一起来做吧。感谢收看本条信息。你花费这么久,看这条信鬼,是不是可以点个赞吧?Yesterday I promised to make an online Gomoku game for everyone.But I found out that it requires front-end and back-end development,and also a server.I searched my house but found no money.I checked on DeepSeek and learned that most cloud servers use Linux.I also found out that Android is related to Linux in some way(I can't remember the exact term and don't feel like checking again--||).So we can use Android as a server and connect through a virtual local area network.You might wonder how to set up a local area network.Don't worry,I've created a chat system.Stay tuned.(๑•.•๑)

Some people say that the AI in my previous version is so weak that even a one-year-old could beat it.That's true because it made random moves.Now I'm using two algorithms with a series of advanced functions,bringing the AI to the highest difficulty level.If you think you can beat the AI,leave a comment below.There's also a login and registration system.Just enter your name and password.No need to send SMS,right?😊And you wouldn't want it to be too complicated,would you?I won't misuse your SMS verification codes.And there's a reward of five coins for beating the AI,with the top five players on the daily leaderboard getting five coins each.There's also a check-in reward of five coins.Plus,there will be an invitation code system,room management,and chat features in future updates.

Anyway,I'll keep updating and improving it.I might even turn it into a software application.If anyone is willing to help voluntarily,let's work together.Thank you for reading this message.Since you spent so much time reading this,why not give it a thumbs-up?

Gfunhud 发表于 2025-2-9 17:04:23

作者你怎么还配了英语?

一只孤独的小鸡 发表于 2025-2-9 17:19:01

没事,瞎搞。只因葡萄牙朋友像我吐槽。说他懒得花钱买Minecraft, 因为他有安卓。我为他注册了一个账号。让他在这里下载。随便发点

一只孤独的小鸡 发表于 2025-2-9 17:19:53

@Gfunhud

Gfunhud 发表于 2025-2-9 17:31:27

一只孤独的小鸡 发表于 2025-2-9 17:19
@Gfunhud

ok知道了
你可真热情,是怎么联系上他的😋

一只孤独的小鸡 发表于 2025-2-9 17:31:57

在游戏里呗。@Gfunhud

一只孤独的小鸡 发表于 2025-2-9 17:32:26

想白嫖的外国人都被邀请来了这里。

Sakarwei 发表于 2025-2-9 19:59:47

放上公网的服务器基本上要找机房,或者让电信关掉你那边80和443过滤的防火墙(实际上端口号根据服务变动),有的也会用内网穿透实现上线公网。我个人用的是付费服务器机房虚拟主机,单有IP,没有域名,自找证书,能用,相对便宜。一分钱都不要的基本上不可靠,除非没有后端,纯静态网页。

如果是 单纯的五子棋的话,其实可以考虑用 JS + HTML 然后放上静态网站,但是不能联机;聊天室就没办法了,必须后端支持。

Minecraft 基岩版的机制是:只要你的手机谷歌校验MC通过,你就可以开玩;只要你能登入 XBox 账号,你就可以联机。klpbbs 提供的链接的上游提供的 MC 安装包打开了限制,因此他可以用自己的微软账户登入到这边的 MC。

一只孤独的小鸡 发表于 2025-2-9 23:12:19

@Sakarwei
没办法,只能用java写了个服务器HTTP
你别说,还真行,后端运行没问

一只孤独的小鸡 发表于 2025-2-9 23:12:50

题            
页: [1]
查看完整版本: 难搞的五子棋