📄 fivestoneprocess.cpp
字号:
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人两个牵制子和一个已下子强匹配!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_addone_defent_qiang:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_qianmodel_addone_defent_low(anticolor,count,tempresult,true))
{
//还是不能防住
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人两个牵制子和一个已下子强匹配low!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_addone_defent_qiang_low2:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_qianmodel_addone(anticolor,count,tempresult,true))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人两个牵制子和一个已下子强匹配2!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_addone_qiang2:"+passtime(cur_time));
thinkpos += 2;
//8_______________________________________
if (has_qianmodel_defent(anticolor,count,tempresult,true))
{
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三个牵制子强匹配!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_defent_qiang:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_qianmodel_defent_low(anticolor,count,tempresult,true))
{
//还是不能防住
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三个牵制子强匹配low!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_qiang_defent_low2:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_qianmodel(anticolor,count,tempresult,true))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三个牵制子强匹配2!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_qiang2:"+passtime(cur_time));
thinkpos += 2;
//9___________________________
if (has_twolevelqianmodel_qiang_defent(anticolor,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人二阶牵制子强匹配!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_twolevelqianmodel_qiang_defent:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_twolevelqianmodel_qiang_defent_low(anticolor,count,tempresult))
{
//还是不能防住
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人二阶牵制子强匹配low!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_twolevelqianmodel_qiang_defent_low:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_twolevelqianmodel_qiang(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人二阶牵制子强匹配2!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_twolevelqianmodel_qiang2:"+passtime(cur_time));
thinkpos += 2;
//10_________________________
/*
if (has_threelevelqianmodel_qiang_defent(anticolor,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三阶牵制子强匹配!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_threelevelqianmodel_qiang_defent:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_threelevelqianmodel_qiang_defent_low(anticolor,count,tempresult))
{
//还是不能防住
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三阶牵制子强匹配low!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_threelevelqianmodel_qiang_defent_low:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_threelevelqianmodel_qiang(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三阶牵制子强匹配2!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_threelevelqianmodel_qiang2:"+passtime(cur_time));
thinkpos += 2;
*/
//____________________________________-
//不存在一阶活子,考察是否存在二阶活子
if (has_twolevel_pure(color,count,tempresult))
{
//存在二阶活子,直接输出二阶活子(应从结果集中random选取)
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机找到二阶活子!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_twolevel:"+passtime(cur_time)); thinkpos += 2;
if (has_qianmodel_addone(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机两个牵制子和一个已下子匹配!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_addone:"+passtime(cur_time)); thinkpos += 2;
if (has_qianmodel(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机三个牵制子匹配!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_qianmodel:"+passtime(cur_time)); thinkpos += 2;
if (has_twolevel_qianmodel(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机二阶牵制子!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_twolevel_qianmodel:"+passtime(cur_time)); thinkpos += 2;
if (has_threelevel_qianmodel(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机三阶牵制子!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_threelevel_qianmodel:"+passtime(cur_time));
thinkpos += 2;
if (has_beatpoints(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机打击子!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_beatpoints1:"+passtime(cur_time));
thinkpos += 2;
/*
if ((countpoints()<50)&&has_twolevel_beat(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机二阶打击子!",debug,cur_time);
return;
}
ShowInfo("has_twolevel_beat1:"+passtime(cur_time));
*/
//3___________________________
if (has_twolevel_defent(anticolor,count,tempresult))
{
//看对方是否存在二阶活子
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("找到人的二阶活子!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_twolevel_defent:"+passtime(cur_time)); thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方的二阶活子,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&make_alive(color,count,tempresult))
{
//不能防住对方的二阶活子,冲三
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲三!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("make_alive:"+passtime(cur_time)); thinkpos += 2;
if (!defent_success&&has_twolevel_defent_low(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("找到人的二阶活子low!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_twolevel_defent_low2:"+passtime(cur_time)); thinkpos += 2;
if (!defent_success&&has_twolevel(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("找到人的二阶活子2!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_twolevel2:"+passtime(cur_time)); thinkpos += 2;
if (thinkpos>60) thinkpos = 60;
//___________________________________
if (((color==1)||(countpoints()>=20))&&make_alive(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机冲三(好)!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("make_alive(good):"+passtime(cur_time));
thinkpos += 2;
if (((color==1)||(countpoints()>=20))&&has_canfour(color,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count);
common_info("计算机冲四(好)!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_canfour(good):"+passtime(cur_time));
thinkpos += 2;
//4_________________________________
if (has_qianmodel_addone_defent(anticolor,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人两个牵制子和一个已下子匹配!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_addone_defent:"+passtime(cur_time)); thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&make_alive(color,count,tempresult))
{
//不能防住对方的二阶活子,冲三
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲三!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("make_alive:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_qianmodel_addone_defent_low(anticolor,count,tempresult))
{
//还是不能防住
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人两个牵制子和一个已下子匹配low!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_addone_defent_low2:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_qianmodel_addone(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人两个牵制子和一个已下子匹配2!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_addone2:"+passtime(cur_time));
thinkpos += 2;
/*
if (has_qianmodel_addone(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人两个牵制子和一个已下子匹配!",debug,cur_time);
return;
}
ShowInfo("has_qianmodel_addone2:"+passtime(cur_time));
*/
//5_______________________________________
if (has_qianmodel_defent(anticolor,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三个牵制子匹配!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_defent:"+passtime(cur_time)); thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time); thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&make_alive(color,count,tempresult))
{
//不能防住对方的二阶活子,冲三
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲三!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("make_alive:"+passtime(cur_time)); thinkpos += 2;
if (!defent_success&&has_qianmodel_defent_low(anticolor,count,tempresult))
{
//还是不能防住
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三个牵制子匹配low!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel_defent_low2:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_qianmodel(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三个牵制子匹配2!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_qianmodel2:"+passtime(cur_time));
thinkpos += 2;
/*
if (has_qianmodel(anticolor,count,tempresult))
{
//还是不能防住,那么只挡某一个活子即可
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人三个牵制子匹配!",debug,cur_time);
return;
}
ShowInfo("has_qianmodel2:"+passtime(cur_time));
*/
//6________________________________________
if (has_twolevel_qianmodel_defent(anticolor,count,tempresult))
{
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("人二阶牵制子!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_twolevel_qianmodel_defent:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_canfour(color,count,tempresult))
{
//不能防住对方,冲四
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲四!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("has_canfour:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&make_alive(color,count,tempresult))
{
//不能防住对方的二阶活子,冲三
selectqianmodel5(color,x,y,tempresult,count,true);
common_info("计算机冲三!",debug,cur_time);
thinkpos = 100;
return;
}
ShowInfo("make_alive:"+passtime(cur_time));
thinkpos += 2;
if (!defent_success&&has_twolevel_qianmodel_defent_low(anticolor,count,tempresult))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -