Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : International Journal of Informatics and Computing

GANS: Genetic Algorithm and Neural Network Integration for Optimal Brain Selection in Snake Game Bambang Pudjoatmodjo; Mugi Praseptiawan; Ulka Chandini Pendit; Rusnida Romli
JICO: International Journal of Informatics and Computing Vol. 1 No. 2 (2025): November 2025
Publisher : IAICO

Show Abstract | Download Original | Original Source | Check in Google Scholar

Abstract

Snake games have emerged as an engaging subject in artificial intelligence and optimization research due to the growing interest in developing autonomous agents capable of controlling the snake intelligently. This study presents a hybrid approach by integrating a Genetic Algorithm (GA) with a Neural Network (NN) to enhance the snake game’s performance, effectively forming an adaptive and intelligent control system or “brain.” In this framework, the Snake game is modeled as an optimization problem, where the GA is employed to optimize the parameters of the NN to improve the decision-making process of the snake. The GA operates by evolving a population of individuals each representing a set of strategies through selection, crossover, and mutation. These operations are iteratively applied to discover optimal solutions within the vast parameter space. The integrated neural network enables the snake to make real-time decisions based on environmental stimuli, enhancing its survival and goal-seeking behavior. Fitness evaluation is performed based on everyone’s gameplay performance, where the most successful individuals contribute to the next generation. Experimental results demonstrate that the combination of GA and NN significantly improves snake gameplay performance. The fitness score acts as a performance indicator, showing that higher-generation populations tend to yield better results. For instance, snakes trained over 100 generations achieved scores around 8, while those trained over 500 generations exceeded scores of 15. This confirms the effectiveness of evolutionary optimization in training neural networks for game-based AI tasks.
Co-Authors Abdillah Hidayatulloh Ade Romadhony Ady Purna Kurniawan Agi Dwi Putra Sembiring M Agung Toto Wibowo Agus Pratondo Aherliwan Rudavan, Rikman Amir Hasanudin Fauzi Aprianti Putri Sujana Bambang Gito Raharjo Bedy Purnama BQ Desy Hardianti Cahyana Cahyana Dendi Gusnadi Dendy Syahreza Maulana Desy Puspa Rahayu Dodi Wisaksono Sudiharto Efendi, Fakhrul Eko Darwiyanto Ema Rachmawati Faaizah Shahbodin Faisal Rifai Fat'hah Noor Prawira Fat’hah Noor Prawira Fazmah Arif Yulianto Fenica Salsabila Malsyasila Fery Prasetyanto Ivan Ekatama Khaniza Nurussyifa Leman, Abdullah Pirus Lip, Rashidah Mahmud Imrona Maulana , Muhammad Haiqal Mazlan, Azlimi Mela Kania Haq Mohamad, Siti Nurul Mahfuzah Mohd Adili Norasikin Mohd Yusoff, Azizul Mokhamad Hendayun Muhammad Arzaki Nabilah Farrassyajidah Arrosyid Naim Che Pee, Ahmad Naufal Fahim Murran Norazlina Shafie Nurmaisarah Ismail Pamungkas, Fathir Adji Permana, Muhammad Gilang Radhitya Praseptiawan, Mugi Prastyawan Aji Nugraha Prawita, Fat’hah Noor Putu Harry Gunawan Rahma Sarsetyaning Utami Rahmadi Wijaya Rahmalan, Hidayah Rashidah Lip Rickman Roedavan Rickman Roedavan Rickman Roedavan Rickman Roedavan Rickman Roedavan Rimba Whidiana Ciptasari Rizza Indah Mega Mandasari Roedavan, Rickman Rusnida Romli Salam, Sazilah Sazilah Salam Sazilah Salam Sazilah Salam Sazilah Salam Sazilah Salam Selly Meliana Setijadi Prihatmanto, Ary Silvia, Delli Siti Nurul Mahfuzah Mohamad Tio Ahmad Muluk Tito Pandu Raharjo Ulka Chandini Pendit Vanny Octaviany Yahdi Siradj