Skip to content

Instantly share code, notes, and snippets.

@IBBoard
Last active May 11, 2021 17:20
Show Gist options
  • Select an option

  • Save IBBoard/03bd25fc01d2a475096c91a3bbfe7715 to your computer and use it in GitHub Desktop.

Select an option

Save IBBoard/03bd25fc01d2a475096c91a3bbfe7715 to your computer and use it in GitHub Desktop.
Multi-turn Blood Bowl replay map output from bbreplay - https://github.com/IBBoard/bbreplay/
Replay_2021-04-04_09-49-09.db
Home: Boil-ton Wanderers (Nurgle)
Away: Naggarothi Nightmares (DarkElf)
Swapping players Player(team=<PlayerType.AWAY: 1>, number=1) & Player(team=<PlayerType.AWAY: 1>, number=12)
Swapping players Player(team=<PlayerType.AWAY: 1>, number=10) & Player(team=<PlayerType.AWAY: 1>, number=3)
Swapping players Player(team=<PlayerType.AWAY: 1>, number=2) & Player(team=<PlayerType.AWAY: 1>, number=9)
Setup
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ⑩ ⑬┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ① ┆ ┆ ② ║
║ ┆ ┆ ║
║ ⑤ ┆ ③ ⑦┆ ⑫ ║
║ ┆ ④ ⑧ ⑥ ┆ ║
╟────────┼──────────────┼────────╢
║ ┆ ⑹ ⑺ ⑸ ┆ ║
║ ┆ ⑶ ⑾┆ ║
║ ⑴ ┆ ┆ ⑵ ║
║ ┆ ┆ ║
║ ⑽ ┆ ⑻ ⑷ ┆ ⒀ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
End of Turn 1 - PlayerType.HOME
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ② ║
║ ┆ ┆ ⑬ ║
║ ① ┆ ③ ④ ⑥ ⑦┆ ⑫ ║
╟────────┼──────────────┼────────╢
║ ⑤ ┆ ⑧ ┆ ⑩ ║
║ ┆ ⑶ ⑹ ⑺ ⑸ ┆ ║
║ ⑴ ┆ ⑾ ┆ ⑵ ║
║ ┆ ┆ ║
║ ⑽ ┆ ⑻ ⑷ ┆ ⒀ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
End of Turn 2 - PlayerType.AWAY
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ② ║
║ ┆ ┆ ⑬ ║
║ ① ┆ ③ ④ ⑥ ⑦┆ ⑩ ⑫ ║
╟────────┼──────────────┼────────╢
║ ⑤ ┆ ⑧ ┆ ║
║ ┆ ⑶ ⑹ ⑺ ⑸┆ ⑵ ║
║ ⑴ ┆ ┆ ║
║ ⑽┆ ⑷ ⑾ ┆ ⑻ ⒀ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
End of Turn 2 - PlayerType.HOME
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ② ║
║ ┆ ③ ┆ ⑬ ║
╟────────┼──────────────┼────────╢
║ ┆ ④ ⑩ ⑦┆ ⑥ ⑫ ║
║ ⑤ ① ┆ ⑶ ⑹ ⑸┆ ⑵ ║
║ ⑴ ┆ ⑺ ⑧ ┆ ║
║ ⑽┆ ⑷ ⑾ ┆ ⑻ ⒀ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
End of Turn 3 - PlayerType.AWAY
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ② ║
║ ┆ ③ ┆ ⑬ ║
╟────────┼──────────────┼────────╢
║ ① ┆ ④ ⑩ ⑦┆ ⑥ ⑫ ║
║ ⑤ ┆ ⑶ ⑸┆ ║
║ ⑽┆ ⑹ ⑺ ⑧ ┆ ⑵ ║
║ ⑴ ┆ ⑷ ┆ ⑻ ⒀ ║
║ ┆ ⑾ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
Swapping players Player(team=<PlayerType.AWAY: 1>, number=10) & Player(team=<PlayerType.AWAY: 1>, number=6)
Swapping players Player(team=<PlayerType.AWAY: 1>, number=10) & Player(team=<PlayerType.AWAY: 1>, number=6)
End of Turn 3 - PlayerType.AWAY
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ⑽ ┆ ║
║ ┆ ⑹ ┆ ║
║ ┆ ┆ ⑬ ║
╟────────┼──────────────┼────────╢
║ ③ ⑶┆ ④ ⑦┆ ⑥ ⑫ ║
║ ┆ ② ┆ ⑸ ⑩ ║
║ ① ⑤ ┆ ⑺ ⑧ ┆ ⑵ ║
║ ┆ ⑴ ⑷ ┆ ⑻ ⒀ ║
║ ┆ ⑾ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
Swapping players Player(team=<PlayerType.AWAY: 1>, number=3) & Player(team=<PlayerType.AWAY: 1>, number=6)
Swapping players Player(team=<PlayerType.AWAY: 1>, number=4) & Player(team=<PlayerType.HOME: 0>, number=5)
End of Turn 4 - PlayerType.AWAY
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ⑸ ║
║ ┆ ┆ ⑹ ⑽ ║
║ ┆ ⑶ ┆ ║
╟────────┼──────────────┼────────╢
║ ③ ┆ ④ ② ⑦┆ ⑬ ⑫ ║
║ ┆ ⑷ ⑥┆ ⑩ ║
║ ① ⑤ ┆ ⑧ ┆ ⑾ ⑻ ⑵ ║
║ ┆ ⑺ ┆ ⒀ ║
║ ┆ ⑴ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
End of Turn 4 - PlayerType.HOME
╔════════╤══════════════╤════════╗
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ④ ║
║ ┆ ③ ┆ ⑹ ⑸ ⑽ ║
║ ┆ ⑶ ┆ ⑦ ⑫║
╟────────┼──────────────┼────────╢
║ ┆ ② ┆ ⑬ ║
║ ┆ ⑷ ┆ ⑥ ⑩ ║
║ ┆ ⑧ ┆ ⑾ ⑻ ⑵ ║
║ ┆ ⑺ ┆ ⒀ ║
║ ┆ ⑤ ⑴ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ① ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
║ ┆ ┆ ║
╟╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╢
║ ┆ ┆ ║
╚════════╧══════════════╧════════╝
Traceback (most recent call last):
File "map.py", line 128, in <module>
player = coords_to_players[block_target_coords]
KeyError: (12, 12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment