Setting up condition to added game to database for searching later