#!/bin/python
#coding:utf-8
import random
import roomai.common
import roomai.kuhn.KuhnPokerUtils

class KuhnPokerAlwaysBetPlayer(roomai.common.AbstractPlayer):
    """
    """
    def __init__(self):
        """

        """
        pass
           
    def receive_info(self, info):
        """

        Args:
            info:
        """
        pass     

    def take_action(self):
        """

        Returns:

        """
        return roomai.kuhn.KuhnPokerUtils.KuhnPokerAction("bet")

    def reset(self):
        """

        """
        pass


class KuhnPokerRandomPlayer(roomai.common.AbstractPlayer):
    """
    """
    #@override
    def receive_info(self, info):
        """

        Args:
            info:
        """
        if info.person_state.available_actions is not None:
            self.available_actions = info.person_state.available_actions

    #@override
    def take_action(self):
        """

        Returns:

        """
        idx = int(random.random() * len(self.available_actions))
        return self.available_actions.values()[idx]

    #@overide
    def reset(self):
        """

        """
        pass

@@ -157,188 +157,54 @@
 r):%0A
-    %22%22%22%0A    %22%22%22%0A    def __init__(self):%0A        %22%22%22%0A%0A        %22%22%22%0A        pass%0A           %0A    def receive_info(self, info):%0A        %22%22%22%0A%0A        Args:%0A            info:%0A        %22%22%22
+%0A           %0A    def receive_info(self, info):
 %0A   
@@ -250,51 +250,8 @@
 f):%0A
-        %22%22%22%0A%0A        Returns:%0A%0A        %22%22%22%0A
     
@@ -337,33 +337,8 @@
 f):%0A
-        %22%22%22%0A%0A        %22%22%22%0A
     
@@ -411,24 +411,8 @@
 r):%0A
-    %22%22%22%0A    %22%22%22%0A
     
@@ -460,65 +460,8 @@
 o):%0A
-        %22%22%22%0A%0A        Args:%0A            info:%0A        %22%22%22%0A
     
@@ -636,51 +636,8 @@
 f):%0A
-        %22%22%22%0A%0A        Returns:%0A%0A        %22%22%22%0A
     
@@ -789,33 +789,8 @@
 f):%0A
-        %22%22%22%0A%0A        %22%22%22%0A
     

complete the documents