Changeset 6.1.7 for main.py


Ignore:
Timestamp:
08/20/2016 06:07:11 PM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160820180711-7uazxuc5oti9bn8r
Message:

Hoisted check for spy-win by failure-to-assemble-team

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.6 r6.1.7  
    130130            else:
    131131                team_failures += 1
    132                 if team_failures == 5:
    133                     print("The spies won!")
    134                     for p in players:
    135                         p.observe_game(False)
    136                     return
     132
     133            if team_failures == 5:
     134                print("The spies won!")
     135                for p in players:
     136                    p.observe_game(False)
     137                return
    137138
    138139
Note: See TracChangeset for help on using the changeset viewer.