Changeset 6.1.40
- Timestamp:
- 08/20/2016 09:24:49 PM (8 years ago)
- branch-nick:
- state
- revision id:
- dsowen@fugue88.ws-20160820212449-yyvergsjh0ob5pwy
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6.1.39 r6.1.40 64 64 self.team_size = team_size 65 65 66 def assemble_team(self):66 def do(self): 67 67 print("Captain is {}".format(self.shared.captain)) 68 68 team = self.shared.players[self.shared.captain].propose_team(self.team_size) … … 149 149 state = state.do() 150 150 elif isinstance(state, AssembleTeam): 151 state = state. assemble_team()151 state = state.do() 152 152 elif isinstance(state, PerformMission): 153 153 state = perform_mission()
Note: See TracChangeset
for help on using the changeset viewer.