import random
import player

class Monster(player.Player):

    def __init__(self, location, name, description):
        player.Player.__init__(self, location)
        self.name = name
        self.description = description

    def get_input(self):
        if not self.playing:
            return ""
        player_present = [x for x in self.location.here
                          if x.name == "Player"]
        if player_present:
            return "attack " + player_present[0].name
        if random.choice((0, 1)):
            return ("go " + random.choice(self.location.exits()))
        else:
            return ''

    def look(self, player, noun):
        return [self.name, self.description]

    def get(self, player, noun):
        return ["The " + self.name + " growls at you."]

0fa1c696d648ccbc91968796a329cb49234521dd
<mask token>


class Monster(player.Player):
    <mask token>

    def get_input(self):
        if not self.playing:
            return ''
        player_present = [x for x in self.location.here if x.name == 'Player']
        if player_present:
            return 'attack ' + player_present[0].name
        if random.choice((0, 1)):
            return 'go ' + random.choice(self.location.exits())
        else:
            return ''

    def look(self, player, noun):
        return [self.name, self.description]
    <mask token>

<mask token>


class Monster(player.Player):
    <mask token>

    def get_input(self):
        if not self.playing:
            return ''
        player_present = [x for x in self.location.here if x.name == 'Player']
        if player_present:
            return 'attack ' + player_present[0].name
        if random.choice((0, 1)):
            return 'go ' + random.choice(self.location.exits())
        else:
            return ''

    def look(self, player, noun):
        return [self.name, self.description]

    def get(self, player, noun):
        return ['The ' + self.name + ' growls at you.']

<mask token>


class Monster(player.Player):

    def __init__(self, location, name, description):
        player.Player.__init__(self, location)
        self.name = name
        self.description = description

    def get_input(self):
        if not self.playing:
            return ''
        player_present = [x for x in self.location.here if x.name == 'Player']
        if player_present:
            return 'attack ' + player_present[0].name
        if random.choice((0, 1)):
            return 'go ' + random.choice(self.location.exits())
        else:
            return ''

    def look(self, player, noun):
        return [self.name, self.description]

    def get(self, player, noun):
        return ['The ' + self.name + ' growls at you.']

import random
import player


class Monster(player.Player):

    def __init__(self, location, name, description):
        player.Player.__init__(self, location)
        self.name = name
        self.description = description

    def get_input(self):
        if not self.playing:
            return ''
        player_present = [x for x in self.location.here if x.name == 'Player']
        if player_present:
            return 'attack ' + player_present[0].name
        if random.choice((0, 1)):
            return 'go ' + random.choice(self.location.exits())
        else:
            return ''

    def look(self, player, noun):
        return [self.name, self.description]

    def get(self, player, noun):
        return ['The ' + self.name + ' growls at you.']

import random
import player

class Monster(player.Player):

    def __init__(self, location, name, description):
        player.Player.__init__(self, location)
        self.name = name
        self.description = description

    def get_input(self):
        if not self.playing:
            return ""
        player_present = [x for x in self.location.here
                          if x.name == "Player"]
        if player_present:
            return "attack " + player_present[0].name
        if random.choice((0, 1)):
            return ("go " + random.choice(self.location.exits()))
        else:
            return ''

    def look(self, player, noun):
        return [self.name, self.description]

    def get(self, player, noun):
        return ["The " + self.name + " growls at you."]
