The genetic algorithm (GA), one of the artificial intelligence (AI), is developed based on Darwin's theory of evolution, i.e., the mating of randomly selected objects. If more optimal solution is generated, then it is better to repeat the process of setting the optimum value. In this paper, the method of background music using the genetic algorithm is exploited when the computer game is executed each time. As a result, it has created several music that can be used in the actual game, and it could be confirmed that the other music that is created is different music when performed each time.