source: main.py

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @6.1.21   8 years dsowen Return next state from handler
(edit) @6.1.20   8 years dsowen Return next state from handler
(edit) @6.1.19   8 years dsowen Moved team-failure tracking into state handler
(edit) @6.1.18   8 years dsowen Removed redundant assignment
(edit) @6.1.17   8 years dsowen Extracted advance_mission()
(edit) @6.1.16   8 years dsowen Spacing
(edit) @6.1.15   8 years dsowen Hoisted voting-loss logic
(edit) @6.1.14   8 years dsowen Hoisted normal win/lose logic
(edit) @6.1.13   8 years dsowen Unpacked one-shot while True loop
(edit) @6.1.12   8 years dsowen Regularized control flow
(edit) @6.1.11   8 years dsowen Added state for advancing missions
(edit) @6.1.10   8 years dsowen Moved around state transitions
(edit) @6.1.9   8 years dsowen Transformed inner loop into a state machine
(edit) @6.1.8   8 years dsowen Changed for to while
(edit) @6.1.7   8 years dsowen Hoisted check for spy-win by failure-to-assemble-team
(edit) @6.1.6   8 years dsowen Extracted assemble_team()
(edit) @6.1.5   8 years dsowen Spacing
(edit) @6.1.4   8 years dsowen Extracted perform_mission
(edit) @6.1.3   8 years dsowen Made main.py executable
(edit) @6.1.2   8 years dsowen Advance mission on completion
(edit) @6.1.1   8 years dsowen Hoist mission number
(edit) @6   8 years dsowen Added a dummy AI player
(edit) @5   8 years dsowen Split Player into different module
(edit) @4   8 years dsowen Removed unused HumanPlayer?
(edit) @3   8 years dsowen Count failures to assemble a team towards a spy victory
(edit) @2   8 years dsowen Documentation
(add) @1   8 years dsowen Random play, without counting failures to assemble a team towards a …
Note: See TracRevisionLog for help on using the revision log.