Skip to content

Commit

Permalink
Minor Modification
Browse files Browse the repository at this point in the history
  • Loading branch information
codedecde committed Oct 14, 2016
1 parent 96acd7f commit 7762ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Game.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def calculate_score(self, player):
raise ValueError('Nobody has won yet.')
count_1 = 0
count_2 = 0
for i in xrange(total_squares):
for i in xrange(self.total_squares):
if len(self.board[i]) > 0 and self.board[i][-1][0] == 0 and self.board[i][-1][1] != 'S':
count_1 += 1
elif len(self.board[i]) > 0 and self.board[i][-1][0] == 1 and self.board[i][-1][1] != 'S':
Expand Down

0 comments on commit 7762ee6

Please sign in to comment.