Updated brandubh capture logic

This commit is contained in:
sloumdrone 2019-05-25 09:39:08 -07:00
parent 71ae985b68
commit dbd04e75a6
1 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,9 @@ class Brandubh:
break
steps += 1
if steps % 2 == 0:
if self.board[start[0]][start[1]].lower() in [friend, ' * '] and start != [3,3]:
if self.board[start[0]][start[1]].lower() in [friend, ' * ']:
if start == [3,3] and self.board[start[0]][start[1]] == ' * ':
break
self.board[prev[0]][prev[1]] = ' - '
continue
else: