Rummy is a popular card game that has been enjoyed by people all over the…