Pygame

PYTHON Tic Tac Toe PART 3: The Visualizer

PYTHON Tic Tac Toe PART 3: The Visualizer

Link to GitHub Update on CPU: Mega Difficult First and foremost, I need to explain the update on CPU: Mega Difficult mode. After two days of being stumped on why my minimax algorithm was not behaving optimally, I realized my base case was what was screwing up the recursion. I was only accounting for terminal states where the grid was full. This was my previous code for my base case within the minimax function:
PYTHON Tic Tac Toe PART 2: The Opponent

PYTHON Tic Tac Toe PART 2: The Opponent

Link to GitHub Intro For anyone that has not read ‘PYTHON Tic Tac Toe PART 1: The Game’, I created a primitive Tic Tac Toe game using python and the pygame library. However, in this part of the project, I will take things a step further and create four sepearate playable modes. The first mode is Local: 2 Player which is already implemented but had to be slightly restructured in the class.
PYTHON Tic Tac Toe PART 1: The Game

PYTHON Tic Tac Toe PART 1: The Game

Link to GitHub Introduction to the Project For my latest coding endeavor, I created a Tic Tac Toe game using the Pygame library. It is currently a local two player game meant to be played on my computer. My goal is to transform this game into a machine learning project by using an applicable ML algorithm to play against the human. This is Part 1 of the series where I will walk you through the fundamental concepts and structure of the inital game with subsequent parts expanding upon it.