Skip to content

Commit

Permalink
Refactored brawl score evaluating
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuchka committed Dec 19, 2016
1 parent 56d3be0 commit a466e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@ inline unsigned evaluate_brawl_score(Field* fd, unsigned player)
// - (10 - p[player]->deck->cards.size())
// + (10 - p[opponent(player)]->deck->cards.size())
+ p[opponent(player)]->total_cards_destroyed
+ safe_minus(p[player]->deck->cards.size(), (unsigned)(fd->turn/2))
+ p[player]->deck->shuffled_cards.size()
- (unsigned)((fd->turn+7)/8);
}

Expand Down

0 comments on commit a466e1b

Please sign in to comment.