Skip to content

A checkers game with an AI agent that uses the minimax algorithm.

Notifications You must be signed in to change notification settings

cpappas18/checkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 

Repository files navigation

Checkers

A checkers game created with the PyGame library. This game allows a human player to compete against an AI agent. We incorporated artificial intelligence by using the minimax algorithm, which demonstrates an adversarial search and performs a depth-first traversal of the game tree. Although alpha-beta pruning is often used in two player games to improve efficiency, we instead used a maximum depth of 5 during the tree traversal on each turn. This decision was made to improve efficiency while also allowing the human player to win against the AI agent in a higher proportion of games.

About

A checkers game with an AI agent that uses the minimax algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages