public class Player{
    private String name;
    private int chips;
    //TODO: Insert the necessary instance variables
    //NOTE: All instance variables should be private
    
    /**
     *  Create the player while initializing the
     *  number of chips that the player has
     */
    public Player(String name, int chips) {	
	//TODO: Insert the necessary code
    }
    
    /**
     *  Get the number of chips that the player
     *  want to bet.
     */
    public int make_bet() {
	int bet = 0;
	//TODO: Implement your strategy for betting

	if (bet <= get_current_chips()){
	    increase_chips(-bet);
	    return bet;
	}
	else
	    return 0;
    }

    /**
     *  Answer whether the player wants one more card.
     *  The player can query from the table that she/he
     *  is in.
     */    
    public boolean hit_me(Table tbl){
	//TODO: Modify the following line and implement your strategy	
	return false;
    }

    /**
     *  Get the number of chips that the player
     *  has now.
     */
    public int get_current_chips(){
	return chips;
    }

    /**
     *  Increase the number of chips by diff,
     *  which can be positive or negative.
     */    
    public void increase_chips(int diff){
	chips += diff;
    }

    /**
     *  Say hello to everyone
     */
    public void say_hello(){
	System.out.println("Hello, I am " + name + ".");
	System.out.println("I have " + chips + " chips.");
    }
}

