Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3554916acmotherbooksBook PagePublication Pageseducational-resourcesacm-pubtype
AI: Connect Four AgentMarch 2023
  • Author:
  • Brian O'Neill
Publisher:
  • Association for Computing Machinery
  • New York
  • NY
  • United States
ISBN:978-1-4503-9511-3
Published:03 March 2023
Pages:
2
Bibliometrics
Skip Abstract Section
Abstract

This assignment allows students to gain experience with AI gameplaying algorithms, implementing minimax and alpha-beta pruning and designing a utility function for measuring game states. The assignment uses Connect Four, a relatively simple fully-observable and deterministic game that students are likely to have seen before. Students are responsible only for developing an agent to play the game; the game itself is already implemented and given as part of the student-facing materials. The assignment breaks down the requirements for the two algorithms into smaller chunks in order to make the whole assignment more approachable. We also provide code for Tic-Tac-Toe so that students can apply their code for minimax and alpha-beta pruning to a simpler game where suboptimal moves will be more obvious, indicating potential bugs in their implementation. The assignment allows for a tournament to be played among all student submissions, potentially awarding extra credit to the winner of the class tournament.

Educational-resources Downloads

ZIP
ecse-2021-0020-File002.zip

This zip contains the supplemental materials for this article.

References

  1. Stuart J. Russell and Peter Norvig. 2009. Artificial Intelligence: A Modern Approach (3rd ed.). Prentice Hall.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Eric W. Weisstein. "Connect-Four." From MathWorld--A Wolfram Web Resource. Retrieved from https://mathworld.wolfram.com/Connect-Four.htmlGoogle ScholarGoogle Scholar
Contributors
  • Western New England University
Index terms have been assigned to the content through auto-classification.

Recommendations