Skip to content

Instantly share code, notes, and snippets.

View Al-Saqib's full-sized avatar
🎯
Focusing

Al Saqib Al-Saqib

🎯
Focusing
View GitHub Profile
@Al-Saqib
Al-Saqib / gist:6694ea5a9aa39c749ad8b9f6ade65986
Created April 30, 2024 13:52
Checkers Game with MinMax AI algorithm with alpha-beta pruning
import tkinter as tk
from tkinter import messagebox
import random
window = tk.Tk()
window.title("Checkers Tavern")
image_size = 100
# Board is a list of list of ints
# position_coordinates is a tuple of (int, int)