Thu Jul 6 07:51:00 UTC 2023 inscode

上级 386f2ed9
......@@ -222,7 +222,7 @@ function getDirectionScore(board, row, col, [y, x], win_size) {
res = r_num + l_num
// 如果是中间断掉的
if (l_empty_num !== 0 && r_empty_num !== 0 && (r_num + l_num) < win_size - 1) {
if (r_num !== 0 && l_num !== 0 && (r_num + l_num) < win_size - 1) {
// 两边都有障碍物
if (r_empty_num === 0 && l_empty_num === 0) {
res = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册