Loading
Export table

USERNAME

PM  Home

Botzone
  • GAMES
  • GROUPS
  • ABOUT
  • Wiki
Reset password

New post

[{"targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]
...
Please keep title between 5 to 18 characters.
Please keep content in 500 characters.

Register a new account

...
Please keep your nickname between 3 to 18 characters.
Your email will be used to verify your identity. This field is case-SENSITIVE!
--
Please keep your password between 6 to 16 characters.
Please enter your password again.
Enter the characters you saw.
Reload captcha

(PLACEHOLDER)

Select All and Copy

					 Click to download binary content
				

(PLACEHOLDER)

Send Message / Reply

...

							
Please keep the message content in 1000 characters

Local AI Config

Local AI allow program on your own computer to make decisions for you, and may be used to test various experimental algorithms. Please check Local AI on wiki for usage, sample and other information.
Please click Submit button before using this feature. This feature is only allowed to use by users achieving level 6 or further, and still in development. In case of problems, feel free to send us feedback.
This key is used to prevent other users from kicking your AI, and is part of the URL below. Please keep it in 10 characters.
-
This is the URL for Local AI. Please send HTTP GET request with specific headers to this URL.

Unknown

Modify your account

...
You may upload a square picture as your avatar.

...
Please keep your nickname between 3 to 18 characters.

...
Type in your old password to check your identity.
--
Please keep your password between 6 to 16 characters.
Please enter your password again.
Welcome to the specialized discussion board. Feel free to ask question or start a topic below. All discussion you started will be under this topic by default.
  • All
  • Groups
    • Games
      • Misc

        Posts

        []

        关于globaldata

        Author: Austyn
        能否在bot迭代时清除globaldata?要不然如果两个版本使用不同格式的globaldata,交接工作会很麻烦
        2023-9-3 13:42:35 1
        [{"_id":"64f44b90cc914861cb852b62","targetid":"58a681ca7f65182b044b5e3f","type":"misc"},{"_id":"64f44b90cc914861cb852b61","targetid":"58a6820d7f65182b044b5e40","type":"misc"}]

        长时运行模式一直显示超时怎么办

        Author: 给阿姨倒一杯卡布奇诺
        我第一回合的输出是"PASS\n\n\n\n>>>BOTZONE_REQUEST_KEEP_RUNNING<<<\n"结果一直超时
        2023-3-29 11:44:46 4
        [{"_id":"5e8edae76cfafa05779a7ddc","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        黑白棋的样例程序有bug

        Author: _小雪_
        它说把棋子覆盖在已经有的棋子上是合法下法
        2023-1-18 9:47:18 0
        [{"_id":"63c74fb6ee1bce5e6c7c3319","targetid":"58a681ca7f65182b044b5e3f","type":"misc"},{"_id":"63c74fb6ee1bce5e6c7c3318","targetid":"53e1db360003e29c2ba227b8","type":"game"}]

        关于查重的问题

        Author: Austyn
        我的小号都在抄我大号的代码,没有查重,我大号都没有收到被抄的消息! 我最近在做一个reversi的bot,预计起码能到1400分,特别是到了前3名后,真的怕抄我的人把我挤出去,都不敢开源了
        2022-10-28 14:25:19 10
        [{"_id":"633916a04172273132cc0f4a","targetid":"56c9d9c1ee79d74c2ee95ec5","type":"misc"},{"_id":"633916a04172273132cc0f49","targetid":"56c9d9d0ee79d74c2ee95ec6","type":"misc"},{"_id":"633916a04172273132cc0f48","targetid":"58a6820d7f65182b044b5e40","type":"misc"},{"_id":"633916a04172273132cc0f47","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        此平台有至少1/5的游戏都没公开

        Author: _冰封_
        ,
        2022-10-18 8:42:03 10
        [{"_id":"62f775495f9ce709a6eae497","targetid":"56c9d9c1ee79d74c2ee95ec5","type":"misc"},{"_id":"62f775495f9ce709a6eae496","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        关于坦克大战

        Author: _小梅_
        坦克大战输入里的3个int的意思到底是啥?看不懂
        2022-8-8 14:39:15 5
        [{"_id":"62e49541b155124b890f78a2","targetid":"5c9ef6ac9f425613e1da0765","type":"game"},{"_id":"62e49541b155124b890f78a1","targetid":"5c908e0e7857b210f901be7d","type":"game"},{"_id":"62e49541b155124b890f78a0","targetid":"5a9e5f0a7382f62abae6dba5","type":"game"},{"_id":"62e49541b155124b890f789f","targetid":"58a6820d7f65182b044b5e40","type":"misc"},{"_id":"62e49541b155124b890f789e","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        斗地主可以投机取巧

        Author: Austyn
        斗地主不是据说是农民用一个ai吗,不怕这两个ai用globaldata偷偷通信吗,两边可以互相告知自己的牌,然后剩下的牌就是地主的 1 data估计会只在自己这里传递信息,不一定能传给队友 2 globaldata如果失败的话,那么globaldata的wiki就有错
        2022-8-5 20:46:59 6
        [{"_id":"62ea59a9b155124b8914c29f","targetid":"62381ce46926fb77fe6e9cc8","type":"game"},{"_id":"62ea59a9b155124b8914c29e","targetid":"5e36c89c4019f43051e45589","type":"game"},{"_id":"62ea59a9b155124b8914c29d","targetid":"545840890003e2b77caf768f","type":"game"},{"_id":"62ea59a9b155124b8914c29c","targetid":"56c9d9deee79d74c2ee95ec7","type":"misc"},{"_id":"62ea59a9b155124b8914c29b","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        关于Java编译问题

        Author: zhouhy
        近期发现有些Java语言写的Bot编译后无法正常运行,现已找到Bug所在,我们将立刻修复(你看到此帖的时候应该已经修复好了)。 对由此带来的不便我们深表抱歉。
        2021-11-10 15:04:35 1
        [{"targetid":"58a681ca7f65182b044b5e3f","type":"misc","_id":"5b4ff4fb746674056d064ed4"},{"targetid":"56c9d9deee79d74c2ee95ec7","type":"misc","_id":"5b4ff4fb746674056d064ed3"}]

        请问在botzone上如何卡时?

        Author: GeorgeM
        我用的语言是 C++,卡时方法是在 getline() 之后 int startTime = clock(),并用 clock() - startTime < time_limit 进行卡时。但在对局中发现平台上 bot 的输出与本地不同,似乎是搜索次数过少导致的。且 botzone 上 clock() 的行为似乎与本地不同?例如,即使我把 time_limit 改成几万毫秒,bot 仍能正常输出不会超时。
        2021-5-20 18:38:12 2
        [{"_id":"60a7098b9a1cd711d26142a1","targetid":"5e36c89c4019f43051e45589","type":"game"},{"_id":"60a7098b9a1cd711d26142a0","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        网站运行RE

        Author: ljss
        {"debug":"botzone inception log:\n1 line read from stdin\n1 line read from stdin\n...done\nstdin sent to child, begin reading output\nrequested force close stdin...\nset alarm: 5 second(s).\nsignaled by sig = 11\nverdict = RE\n-- RE occurred --\nworking dir = /var/sandbox/box0/\nhostname:\n","error":"错误:程序崩溃 / ERROR: Program raised a runtime error","output":"stderr:\nstart to close fds...\n\n\nstdout:\n"}
        2021-1-11 0:25:21 2
        [{"_id":"5ffb2a4438843939e748ffb3","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        Tank2 的 EOFError

        Author: rabbit
        用 Python3.6 写的bot,老是第一回合报 EOFError 就崩掉了,明明是按着标准输入样例写的 json.loads(input())
        2021-1-7 20:43:12 4
        [{"_id":"5cc9bd61a51e681f0e8a1474","targetid":"5c908e0e7857b210f901be7d","type":"game"},{"_id":"5cc9bd61a51e681f0e8a1473","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        请问长时运行的机制是什么?

        Author: 薛定谔的猹cha
        wiki上提到的长时运行: 1. Bot完成一句特殊输出之后,裁判程序判定输出结束; 2. 系统发送SIGSTOP强制休眠Bot,此过程可能有延迟; 3. Bot等待SIGCONT信号唤醒(读取下一轮?); 那么Bot完成步骤1之后,在等待SIGSTOP的过程中会不会有点空虚寂寞冷?是应该直接while到等待标准输入的环节吗? 看前面的帖子《到底要不要勾选长时运行啊》,官方回复说“如果勾选长时运行,则需要在输出结束后直接退出程序”,那这不就是是回合模式的做法? 我是不是错过了什么?(比如示例代码)
        2020-7-9 2:53:10 2
        [{"_id":"5ec66d59703c1e22d940ce4d","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        长时运行第一回合问题

        Author: wmg
        长时运行的第一回合应该怎样response, print(json.dumps({ "response": 'PASS' })) print('BOTZONE_REQUEST_KEEP_RUNNING') sys.stdout.flush() 我是这样写的,但是一直是超时~
        2020-5-2 13:50:27 2
        [{"_id":"5eabf3b8a96e206b6479d07a","targetid":"5e37dcf74019f43051e53201","type":"game"},{"_id":"5eabf3b8a96e206b6479d079","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        如何include存储空间里的文件

        Author: _2147483648_
        #include "data/xxx.h"不管用啊
        2020-4-19 23:21:19 3
        [{"_id":"5e9c5533a96e206b647061e7","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        关于tensorflow的版本

        Author: newlifer
        在bot词条里看到对于python3,提供的运行库里包含tensorflow,但是提及具体是哪个版本的tensorflow,望告知具体的版本号。
        2020-4-10 21:14:46 5
        [{"_id":"5e8edacc6cfafa05779a7dd6","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        C++可以支持多文件编译吗

        Author: seventhBot
        rt,,不太想全部写在一个文件里。。。
        2020-2-23 17:36:59 2
        [{"_id":"5e513aef6c4762146e8b3bdd","targetid":"56c9d9c1ee79d74c2ee95ec5","type":"misc"},{"_id":"5e513aef6c4762146e8b3bdc","targetid":"58a681ca7f65182b044b5e3f","type":"misc"},{"_id":"5e513aef6c4762146e8b3bdb","targetid":"58a6820d7f65182b044b5e40","type":"misc"}]

        本地Ai老是显示未连接是什么原因啊

        Author: Noar
        qaq
        2020-1-14 19:45:11 1
        [{"_id":"5e21e3e8b63f95603724ee70","targetid":"56c9d9c1ee79d74c2ee95ec5","type":"misc"},{"_id":"5e21e3e8b63f95603724ee6f","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        请问Tank2开启允许长时运行的原因

        Author: SpiritedAwayCN
        如题,我们小组目前已经进入决赛,但是之前在主页没有注意到要开启“允许长时运行”,因此我们没有勾选那个开关,而我们的Bot在积分赛期间也未出现异常的情况。 请问一下是否有一定需要勾选长时运行,我们目前的Bot如果真的长时运行可能会有很多Bug.
        2019-5-31 10:58:17 2
        [{"_id":"5cf083c1947c9c03d0a91ecd","targetid":"5cb5794383f1e10a1eddebb3","type":"group"},{"_id":"5cf083c1947c9c03d0a91ecc","targetid":"5c908e0e7857b210f901be7d","type":"game"},{"_id":"5cf083c1947c9c03d0a91ecb","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        关于近期平台的随机RE问题

        Author: zhouhy
        该问题已经解决,原因是数日前的多次停电导致评测机硬盘损坏,部分评测机上的若干系统文件和缓存的Bot程序遭到破坏无法正常运行。现在缓存已清空,并且相关补测已经重新运行。
        2019-5-28 21:46:29 0
        [{"_id":"5ced3bc7641dd10fdcc6fa7a","targetid":"56c9d9c1ee79d74c2ee95ec5","type":"misc"},{"_id":"5ced3bc7641dd10fdcc6fa79","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]

        Botzone上内存限制是多少

        Author: 我爱嗑瓜子
        不知道会不会超内存哎
        2019-5-26 21:06:57 1
        [{"_id":"5ceb476b811959055e228aa6","targetid":"58a681ca7f65182b044b5e3f","type":"misc"}]
        • «
        • 1
        • 2
        • 3
        • »

        ×
        Modify tags Modify
        Reply
        ...

        All rights reserved 2014 - AI LAB, Peking University.
        Mainly created by zhf zhouhy zhq ... and more previous authors
        Download match dataset of Botzone

        京ICP备18028450号-1

        Welcome to Botzone!
        There're plenty of games on Botzone, click 'GAMES' on the navigation bar to find out how to play and rules.
        Sample programs on rules page are your best starter codes.
        The ranklists of each game are also presented here.
        You may start a human match or test your program by 'Create Gametable' on homepage.
        You may also join in gametable of others or view latest matches.
        When you are ready to submit your code, please click on 'My Bots' on the navigation bar.
        We implemented a sample version control system, where you may submit your modification by 'Add a new Version'.
        You can opt your bot in the ranklist too.
        If you feel confident about your program, it's high time you click on 'GROUPS' on the navigation bar to join in some group holding contests.
        Finally, if you still feel unfamilar to the usage or curious about how this site works,
        please click on 'Wiki' on the navigation bar to view our wiki, or contact us by botzone[at]126.com.
        If you wish to review this guide, please click the gray question mark on the lower right corner in any page.
        Happy coding!
        Botzone How-to1 / 5
        ?