- Timestamp:
- 08/20/2016 06:27:22 PM (8 years ago)
- branch-nick:
- state
- revision id:
- dsowen@fugue88.ws-20160820182722-2rhllkszywrku2xz
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6.1.14 r6.1.15 121 121 team_failures += 1 122 122 123 if team_failures == 5:124 print("The spies won!")125 for p in players:126 p.observe_game(False)127 return128 129 123 elif state == "PERFORM_MISSION": 130 124 team_failures = 0 … … 132 126 state = "ADVANCE_MISSIONS" 133 127 134 if wins >= 3: 128 if team_failures == 5: 129 print("The spies won!") 130 for p in players: 131 p.observe_game(False) 132 return 133 elif wins >= 3: 135 134 print("The Resistance won!") 136 135 for p in players:
Note: See TracChangeset
for help on using the changeset viewer.