<commit_before>
module.exports = {

  VERSION: "Default JavaScript folding player",

  bet_request: function(game_state, bet) {

    bet(Math.max(game_state.current_buy_in * 2, 350));
    console.log(game_state);
  },

  showdown: function(game_state) {

  }
};<commit_msg>add: get user cards; get all cards;<commit_after>
module.exports = {

  VERSION: "Default JavaScript folding player",

  bet_request: function(game_state, bet) {

    bet(Math.max(game_state.current_buy_in * 2, 350));
    console.log(game_state);
  },

  showdown: function(game_state) {

  }

  getPlayer: function(game_state){
  	return game_state.players[game_state.in_action];
  }

  getMyCards: function(game_state){
  	return getPlayer.hole_cards;
  }

  getCommunityCards: function(game_state){
  	return game_state.community_cards;
  }

  getAllCards : function(game_state){
		myCards = getMyCards(game_state);
		otherCards = getCommunityCards(game_state);
		return myCards.concat(otherCards);
	}

};
{'fraction_non_alphanumeric': 0.12028542303771661, 'fraction_numerical': 0.00815494393476045, 'mean_word_length': 4.64367816091954, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1582416', 'n_tokens_mistral': 374, 'n_tokens_neox': 338, 'n_words': 58}