Overview
| Comment: | Adjust player display string |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
66317774207abc9bd7075c94c245e19f |
| User & Date: | joel on 2018-11-20 03:20:48 |
| Other Links: | manifest | tags |
Context
|
2018-11-20
| ||
| 04:06 | Refine separation of roll/read turn phases; fix scoring of unread rolls at end of round check-in: 5b68c7 user: joel tags: trunk | |
| 03:20 | Adjust player display string check-in: 663177 user: joel tags: trunk | |
| 03:14 | Add support for fuzzy die tracking (closes [8bc9b13fd4]) check-in: d1c9ab user: joel tags: trunk | |
Changes
Modified bunco.py from [314493] to [28f635].
| ︙ | ︙ | |||
51 52 53 54 55 56 57 |
self.turn_progress = 0
self.current_streak = 0
self.max_fuzzydie_streak = 0
self.current_fuzzydie_streak = 0
self.rolled_bunco = False
def __repr__(self):
| | | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
self.turn_progress = 0
self.current_streak = 0
self.max_fuzzydie_streak = 0
self.current_fuzzydie_streak = 0
self.rolled_bunco = False
def __repr__(self):
return f"<Player {self.name}: " \
+ f"\tscores\t\t{self.round_scores}>" \
+ f"\troll counts\t{self.round_roll_counts}>"
def prep_new_round(self):
self.round_scores.append(0)
self.round_roll_counts.append(0)
self.personal_roll_scores.append(0)
|
| ︙ | ︙ |