Created a function to send a game list to a client