博弈搜索练习-极大极小值搜索+AlphaBeta剪枝--POJ 1085-Triangle War/三角点格棋


Triangle War
Time Limit: 1000MS   Memory Limit: 65536K
Total Submissions: 3066   Accepted: 1207

Description

Triangle War is a two-player game played on the following triangular grid: 
三角点格棋是一个在如图所示的棋盘上进行的双人游戏:

Two players, A and B, take turns filling in any dotted line connecting two dots, with A starting first. Once a line is filled, it cannot be filled again. If the line filled by a player completes one or more triangles, she owns the completed triangles and she is awarded another turn (i.e. the opponent skips a turn). The game ends after all dotted lines are filled in, and the player with the most triangles wins the game. The difference in the number of triangles owned by the two players is not important.
AB 两名玩家轮流连接一次图中带有数字的点之间的虚线( A 先手),每条虚线只能被连接一次, 每当一名玩家将一个或多个三角形(指边长为一单位的最小三角形)的所有虚线全部连接时,他连成的三角形个数将计入他的总分,并且,他将被奖励一个回合(换言之对手跳过一次行动) 。当所有的 18 条虚线均被连接时游戏结束,得分高者获胜。 
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值