The game industry has been on exponential growth, has different businesses of varying size, ethos, scope and beyond. Success of these video-games comes from a lot of labor-intensive work by developers. Every little nuance of each character, the objects within a character’s environment must be hand-coded. Repetitive work takes up a significant part of development time, which leads to an increase in glitches and logical flaws. Artificial intelligence has been used to simulate human players in software games, provides an opportunity for game developers to create unique experiences and different outcomes for each player. Computer chess players are well-known examples, wherein modern chess programs are trained to defeat best human players. AI based algorithms that can be implemented for games, but a need for optimal solutions is on a rise. We require a comparative analysis of multiple algorithms for understanding the most efficient and ideal one. In our work, through use of a game Tic-Tac-Toe various algorithms will be carried out with its prototype compared in terms of effective rate and optimality.