refactoring ShopGames