As it happens, his wife, Queen Consort Margaret of Burgundy, died in prison on 30 April 1315 after "catching a cold." Some say she was strangled. Of course there is no way to know if the story of the cold was made-up and someone had her eliminated to resolve the crisis.
Whatever the case, Louis was free to marry again, and he did. Louis married Clementia of Hungary (pictured here) on 19 August. Less than a year later, on 5 June 1316, Louis died after playing tennis. Clementia was pregnant at the time, and this created a question: if she gave birth to a son, he would have precedence over Louis' daughter by Margaret. If she gave birth to a daughter, then the elder daughter, Joan, would have precedence; on the other hand, Margaret's affair raised questions as to the true parentage of Joan.
Louis' brother Philip was appointed regent for the five months until Clementia gave birth. On 15 November 1316, King John I was born and reigned under his uncle Philip's regency for five days until his death on the 20th. He is the youngest person to be King of France, and the only King of France to hold the title for his entire life. Of course there were rumors that Philip had him killed, especially since Philip succeeded him as Philip V. The child mortality rate was very high, however: estimates for the medieval era worldwide are that one in four children died in the first year of life.
But let us not just ignore that Louis died after playing tennis. Was his death connected to the tennis game? And tennis? In 1316? Of course you are curious about tennis in the Middle Ages, and I will attempt to satisfy that curiosity next time.