Changeset 6.1.2
- Timestamp:
- 08/20/2016 05:26:09 PM (8 years ago)
- branch-nick:
- state
- revision id:
- dsowen@fugue88.ws-20160820172609-bjvsl0w07extdjpy
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6.1.1 r6.1.2 55 55 captain = 0 56 56 team_failures = 0 57 mission = 0 # The first mission is actually 1.57 mission = 1 58 58 59 59 while True: 60 mission += 161 60 team_size = mission_size(player_count, mission) 62 61 print("Mission {} needs {} members".format(mission, team_size)) … … 92 91 print("Mission succeeded") 93 92 wins += 1 93 mission += 1 94 94 if wins >= 3: 95 95 print("The Resistance won!") … … 100 100 print("Mission had {} failures".format(failures)) 101 101 losses += 1 102 mission += 1 102 103 if losses >= 3: 103 104 print("The Spies won!")
Note: See TracChangeset
for help on using the changeset viewer.