Implementing artificial intelligence agent within connect 4 using unity3d and machine learning concepts

Nirmal Baby, Bhargavi Goswami · QUT ePrints (Queensland University of Technology) · 2019

Nowadays, we come across games that have unbelievably realistic graphics that it usually becomes hard to distinguish between reality and the virtual world when we are exposed to a virtual reality gaming console. Implementing the concepts of Artificial Intelligence (AI) and Machine-Learning (ML) makes the game self-sustainable and way too intelligent on its own, by making use of self-learning methodologies which can give the user a better gaming experience. The use of AI and ML in games can give a better dimension to the gaming experience in general as the virtual world can behave unpredictably, thus improving the overall stigma of the game. In this paper, we have implemented ‘Connect-4’, a multiplayer game, using ML concepts in Unity3D. The machine learning toolkit ‘ML-Agents’, which depends on Reinforcement Learning (RL) technique, is provided using Unity3D. This toolkit is used for training the game agent which can distinguish its good moves and mistakes while training, so that the agent will not go for same mistakes over and over during actual game with human player. With this paper, authors have increased intelligence of game agent of Connect 4 using Reinforcement Learning, Unity3D and ML-Agents toolkit.

Read the paper · More papers on PaperTik