Research Article

Comparison of different algorithms in Reversi AI

Xi Chen*
Liberal Arts and Sciences, Columbus Community State College, Columbus, 550 East Spring St. Columbus, OH 43215, the United States of America

* Corresponding author: [email protected]

Abstract

Minimax and alpha-beta pruning have been widely applied in AI for various strategic board games, the utilization of greedy algorithms in this context has received less attention. The Greedy algorithms aim to make locally optimal choices at each step, exploiting immediate gains. This research aims to reveal the potential benefits and limitations of applying greedy algorithms in Reversi gaming AI, specifically through a comparison with the Minimax algorithm. A series of AI versus AI matches were conducted to evaluate and compare the performance of the three different AI algorithms. The objective was to assess their gameplay strategies and decision-making abilities by measuring their average execution time and win rates. Relevant codes and experiments will be carried out in a C++ environment, and the shown codes in this article will only have pseudocode and comments. In conclusion, the findings of this study indicate that the Greedy Algorithm is not a superior alternative to the Minimax Algorithm in competitive scenarios, particularly with increased searching depth. However, greedy algorithms still have weak competitiveness with reduced computational time. For future research, concentrating on improving the performance of the Greedy Algorithm by incorporating more advanced heuristics or adaptive strategies maybe a good choice. Additionally, combining the strengths of both the Greedy Algorithm and the Minimax Algorithm could be a promising direction for further investigation.

Keywords: Reversi; greedy algorithms; Minimax; alpha-beta pruning; artificial intelligence
Published: January 31, 2024
DOI: 10.54254/2755-2721/32/20230190
Volume: ACE Vol.32
pp. 99-105
Download PDF

References

  1. v. Neumann, J. (1928). Zur theorie der gesellschaftsspiele. Mathematische annalen, 100(1), 295-320.
  2. McClellan, JH, & Parks, TW (2005). A personal history of the Parks-McClellan algorithm. IEEE signal processing magazine, 22 (2), 82-86.
  3. Engel, K. T. (2023). Learning a Reversi Board Evaluator with Minimax. https://www.cs.umd.edu/sites/default/files/scholarly_papers/Engel.pdf
  4. David Eppstein, (1997), Lecture notes for Minimax and negamax search. https://www.ics.uci.edu/~eppstein/180a/970417.html
  5. Festa, J., & Davino, S. (2013). " IAgo vs Othello": An Artificial Intelligence Agent Playing Reversi. In PAI@ AI* IA (pp. 43-50).
  6. By Jez9999, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=3708424
  7. Ross, G. D. (2019). Reversi Artificial Intelligence: A Project Management Analysis. https://digitalcommons.olivet.edu/csis_stsc/13