making an online game works