Changeset 4


Ignore:
Timestamp:
08/16/2016 03:07:49 AM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
resistance
revision id:
dsowen@fugue88.ws-20160816030749-f2j9ytv656ibq80b
Message:

Removed unused HumanPlayer?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r3 r4  
    7676
    7777        """
    78         pass
    79 
    80 
    81 class HumanPlayer(Player):
    82 
    83     def __init__(self, player_count, player_num, role):
    84         super(HumanPlayer, self).__init__(player_count, player_num, role)
    85 
    86     def reveal_spies(self, spies):
    87         print("%s (%s) sees spies: %s" % (self.num, self.role, spies))
    88 
    89     def propose_team(self, count):
    90         if count == 2:
    91             return [0, 1]
    92         else:
    93             return [0, 1, 2]
    94 
    95     def approve_team(self, team):
    96         return True
    97 
    98     def observe_team_vote(self, approved, votes):
    99         pass
    100 
    101     def perform_mission(self):
    102         return False
    103 
    104     def observe_mission(self, success, failures):
    10578        pass
    10679
Note: See TracChangeset for help on using the changeset viewer.