#!/usr/bin/env python3
"""
Dummy random Zombies agent.
Author: Cyrille Dejemeppe <cyrille.dejemeppe@uclouvain.be>
Copyright (C) 2014, Université catholique de Louvain

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.

"""

import random
from zombies import *

class Agent:

  """A dumb random Zombies agent."""

  def __init__(self, name="Random agent"):
  	self.name = name

  def play(self, board, player, step, time_left):
    return random.choice(list(board.get_actions(player, step)))

5eecc9ba80813463767c9335d3eb031bf28f0790
<mask token>


class Agent:
    <mask token>

    def __init__(self, name='Random agent'):
        self.name = name
    <mask token>

<mask token>


class Agent:
    <mask token>

    def __init__(self, name='Random agent'):
        self.name = name

    def play(self, board, player, step, time_left):
        return random.choice(list(board.get_actions(player, step)))

<mask token>


class Agent:
    """A dumb random Zombies agent."""

    def __init__(self, name='Random agent'):
        self.name = name

    def play(self, board, player, step, time_left):
        return random.choice(list(board.get_actions(player, step)))

<mask token>
import random
from zombies import *


class Agent:
    """A dumb random Zombies agent."""

    def __init__(self, name='Random agent'):
        self.name = name

    def play(self, board, player, step, time_left):
        return random.choice(list(board.get_actions(player, step)))

#!/usr/bin/env python3
"""
Dummy random Zombies agent.
Author: Cyrille Dejemeppe <cyrille.dejemeppe@uclouvain.be>
Copyright (C) 2014, Université catholique de Louvain

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.

"""

import random
from zombies import *

class Agent:

  """A dumb random Zombies agent."""

  def __init__(self, name="Random agent"):
  	self.name = name

  def play(self, board, player, step, time_left):
    return random.choice(list(board.get_actions(player, step)))
