â—¾

Checkers Game

Created
Nov 18, 2022 10:55 AM
Tags
notion image
notion image

Associated with: Shiv Nadar University
Class: CSD : Introduction to Artificial Intelligence

We built a checkers game in python from scratch which can be played by two players or by one player against an AI. The moves of the AI are determined based on the position of the pieces and the next move to be taken is determined based on the minimax algorithm.

Learnings:

  • Implementing the minimax algorithm
  • implementing a gameplay from scratch using using pygame
  • designing interfaces in pygame
  • working with transitions for clicks, highlights and moves.

Code:

The entire code can be accessed in this github repo.
Â