- Timestamp:
- 08/17/2016 12:02:50 AM (8 years ago)
- branch-nick:
- resistance
- revision id:
- dsowen@fugue88.ws-20160817000250-utq3w9vf4mdopgc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r5 r6 2 2 3 3 from player import Player 4 import ai 4 5 5 6 … … 40 41 shuffle(role_deck) 41 42 print(role_deck) 42 players = [Player(player_count, i, r) for i, r in enumerate(role_deck)] 43 players = [Player(player_count, i, r) if r == "SPY" 44 else ai.Player(player_count, i, r) 45 for i, r in enumerate(role_deck)] 43 46 44 47 spy_nums = [i for i, r in enumerate(role_deck) if r == "SPY"]
Note: See TracChangeset
for help on using the changeset viewer.