UPDATE start of the function to identify which card have been played by the user