Loading
Export table

USERNAME

PM  Home

Botzone
  • GAMES
  • GROUPS
  • ABOUT
  • Wiki
Reset password

New post

[{}]
...
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 discussion board. Feel free to ask question or start a topic below.
  • All
  • Groups
    • Games
      • Misc

        Posts

        []

        关于最近Bot上传无限等待的问题

        Author: zhouhy
        由于学校防火墙的奇怪配置,代码中某些内容可能导致连接中断。遇到这种情况,如果你在校内,可以使用botzone2.ailab.tk来访问botzone,数据与botzone是一致的
        2015-5-29 15:47:40 1
        []

        snake bot传不上去啊?

        Author: NZ_666_KSHATRIYA
        更新bot版本时由于网速较慢,没有上传结束就把网页关了,后来bot就传不上去了,新建bot也不行,原有bot更新版本也不行。求问怎么解决这个问题?
        2015-5-29 13:35:51 2
        []

        输入数据字段命名有错误

        Author: NOKIA
        样例代码中有着一段 ```cpp n=input["requests"][(Json::Value::UInt) 0]["height"].asInt(); //棋盘高度 m=input["requests"][(Json::Value::UInt) 0]["width"].asInt(); //棋盘宽度 ``` 然而,又有这一句 ```cpp if (x>n || y>m || x<1 || y<1) return false; ``` 这说明n是宽度 m是高度
        2015-5-28 23:55:55 2
        []

        非队长账号连练习赛也参加不了吗Orz

        Author: Augustus
        见标题。。
        2015-5-27 22:07:15 1
        []

        Wiki Snake有错误

        Author: NOKIA
        Wiki中写: >但蛇会自动长大(长大即为不删除序列末尾坐标的前进),前9回合每回合长度增加1,从第10回合开始,每3回合长度增加1。 但样例代码里有 ``` bool whetherGrow(int num) //本回合是否生长 { if (num<=9) return true; if ((num-9)%3==0) return true; return false; } for (int i=0;i<total;i++) { dire=input["responses"][i]["direction"].asInt(); move(0,dire,i); dire=input["requests"][i+1]["direction"].asInt(); move(1,dire,i); } ``` 这里i不是回合数,而是回合数-1。但是样例程序与online配合的很好,这说明二者代码是一致的,是wiki写错了。 望给予解答,谢谢!
        2015-5-26 20:06:48 3
        []

        本地编译有什么办法做到数据可视化吗?

        Author: NOKIA
        建议网站增设功能,可以提交程序输出,并以可视化形式显示出来,便于玩家调试程序。
        2015-5-24 23:03:49 9
        []

        在mac下jsoncpp无法编译

        Author: applepi0
        Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.3.0 Thread model: posix g++ jsoncpp.cpp -c -O2 ./jsoncpp/../jsoncpp.cpp:215:11: error: redefinition of 'Features' Features::Features() ^ ./jsoncpp/../jsoncpp.cpp:215:11: note: previous definition is here Features::Features() ^ ...
        2015-5-24 23:00:06 5
        []

        题目描述和样例程序不一致

        Author: 就是这么任性
        在题目描述里面是说用“ "0":{"x":Number,"y":Number}, //0号玩家初始位置的x,y坐标 "1":{"x":Number,"y":Number}, //1号玩家初始位置的x,y坐标” ”分别表示两个玩家的位置。 但是在样例程序里面却是“ int x=input["requests"][(Json::Value::UInt) 0]["x"].asInt(); //读蛇初始化的信息 if (x==1) { snake[0].push_front(point(1,1)); snake[1].push_front(point(n,m)); } else { snake[1].push_front(point(1,1)); snake[0].push_front(point(n,m)); } ”。 请问应该以哪个为准? 并且:玩家的出生点只会在两个角上吗?怎样保证障碍物的设置对两方公平?
        2015-5-23 16:28:36 14
        []

        botzone卡死了!!!!!

        Author: SSSss
        botzone玩人类对战bot的,怎么都出不来整个界面,卡死了>>>_<<<<<~~!!!!!
        2015-5-23 12:00:22 2
        []

        突然就无输出了我真是日了狗了

        Author: LoLoWittyMode
        这什么破bug啊,用完全一样的代码复制粘贴,原来的版本可以正常用,建一个bot新版本怎么着都无输出。用例程也一样无输出,耽误了一个小时真操蛋。
        2015-5-22 21:03:34 2
        []

        为什么老是系统崩溃??

        Author: feifei
        提交的代码能编译,但是运行时总是系统崩溃或超时!!连样例代码也不行.
        2015-5-22 19:44:07 0
        []

        怎么在本地调试啊

        Author: 不归听雪楼
        程序已经编译好了,不知道输入些什么东西
        2015-5-22 18:52:20 0
        []

        回合从1开始还是0开始?

        Author: wjllance
        rt 以及为什么裁判输出从12回合才为false?
        2015-5-19 16:01:04 1
        []

        C++程序的编译参数?

        Author: applepi0
        RT
        2015-5-17 20:24:08 0
        []

        贪吃蛇队伍如何继续添加成员呀?

        Author: JoeStar
        报名那里重新报一次还是找学长改。。
        2015-5-17 17:14:52 1
        []

        Dev能用嘛……

        Author: sythello
        在wiki上下载了jsonCPP_modified,解压后放到include里面,编译Sample出现编译错误,说“isfinite”函数未定义,请问这是什么情况……?
        2015-5-17 13:47:56 2
        []

        Clion可编译通过

        Author: flowers
        在VS里编译含有jsoncpp的东西会报编译错,但是在Clion(JetBrains最近出的C++IDE,类gcc环境,智能提示也非常好用)里可以编译的过,方便调试。
        2015-5-15 22:23:56 0
        []

        Snake希望往队伍里加人

        Author: 爱甜_千星镜
        RT,队伍已提交,后来又有人加,@zhouhy,学长可不可以给加进去啊……
        2015-5-15 10:48:34 0
        []

        一场比赛评测之后有没有调试文件啊

        Author: wjllance
        rt
        2015-5-15 7:20:05 1
        []

        练习桌怎么老是中止?

        Author: 买钰鑫1400062708
        我昨天今天用练习桌都是没有结果,看历史对局显示中止!怎么回事啊?
        2015-1-10 13:32:40 3
        []
        • «
        • 1
        • 2
        • 3
        • 4
        • 5
        • 6
        • 7
        • 8
        • 9
        • 10
        • 11
        • 12
        • 13
        • 14
        • 15
        • 16
        • 17
        • 18
        • 19
        • 20
        • 21
        • 22
        • 23
        • 24
        • 25
        • 26
        • 27
        • 28
        • 29
        • 30
        • 31
        • 32
        • 33
        • 34
        • 35
        • 36
        • 37
        • 38
        • 39
        • 40
        • 41
        • 42
        • 43
        • 44
        • 45
        • 46
        • 47
        • 48
        • 49
        • 50
        • 51
        • 52
        • 53
        • 54
        • 55
        • 56
        • 57
        • 58
        • 59
        • 60
        • 61
        • 62
        • 63
        • 64
        • 65
        • 66
        • 67
        • 68
        • 69
        • 70
        • 71
        • 72
        • 73
        • 74
        • 75
        • 76
        • 77
        • 78
        • 79
        • 80
        • 81
        • 82
        • 83
        • 84
        • 85
        • 86
        • 87
        • 88
        • 89
        • 90
        • 91
        • 92
        • 93
        • 94
        • 95
        • 96
        • 97
        • 98
        • 99
        • 100
        • 101
        • 102
        • 103
        • 104
        • 105
        • 106
        • 107
        • 108
        • 109
        • 110
        • 111
        • 112
        • 113
        • 114
        • 115
        • 116
        • 117
        • 118
        • 119
        • 120
        • 121
        • 122
        • 123
        • 124
        • 125
        • 126
        • 127
        • 128
        • 129
        • 130
        • 131
        • 132
        • 133
        • 134
        • 135
        • 136
        • 137
        • 138
        • 139
        • 140
        • 141
        • 142
        • 143
        • 144
        • 145
        • 146
        • 147
        • 148
        • 149
        • 150
        • 151
        • 152
        • 153
        • 154
        • 155
        • 156
        • 157
        • 158
        • 159
        • 160
        • 161
        • 162
        • 163
        • 164
        • 165
        • 166
        • 167
        • »

        ×
        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
        ?