lib/euchre/game.rb
#this function is used to resend cards if a player refreshes the page midgame or disconnects NOT NEEDED WITH REACT UPDATE
this function is used to resend cards if a player refreshes the page midgame or disconnects NOT NEEDED WITH REACT UPDATE
this function is used to resend cards if a player refreshes the page midgame or disconnects NOT NEEDED WITH REACT UPDATE
def resend_gui(dic)
    player_index = dic["playerNo"][1].to_i - 1
    puts player_index
    player = @round.player_list[player_index]
    @round.resend_player_cards(player)
  end
def resend_gui ( dic ) player_index = dic [ "playerNo" ] [ 1 ] . to_i - 1 puts player_index player = @round . player_list [ player_index ] @round . resend_player_cards ( player ) end
this function is used to resend cards if a player refreshes the page midgame or disconnects NOT NEEDED WITH REACT UPDATE
this function is used to resend cards if a player refreshes the page midgame or disconnects NOT NEEDED WITH REACT UPDATE
dic
<not_specific>