inserted method getListGames in the client