added sudo code for online game list population.