Changeset 6.1.11


Ignore:
Timestamp:
08/20/2016 06:20:49 PM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160820182049-z12l006ixs2xq049
Message:

Added state for advancing missions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.10 r6.1.11  
    105105        mission += 1
    106106
    107     state = "ASSEMBLE_TEAM"
     107    state = "ADVANCE_MISSIONS"
    108108
    109109    while True:
    110         team_size = mission_size(player_count, mission)
    111         print("Mission {} needs {} members".format(mission, team_size))
     110        if state == "ADVANCE_MISSIONS":
     111            team_size = mission_size(player_count, mission)
     112            print("Mission {} needs {} members".format(mission, team_size))
     113            state = "ASSEMBLE_TEAM"
    112114
    113115        while True:
     
    141143                    return
    142144
    143                 state = "ASSEMBLE_TEAM"
     145                state = "ADVANCE_MISSIONS"
    144146                break
    145147
Note: See TracChangeset for help on using the changeset viewer.