top of page
Screen Shot 2020-06-19 at 10.40.04

Tic-Tac-Toe AI Project

I completed this project after a computer science course at UCLA that was taught in C++. We were assigned to just make a basic tic-tac-toe game, but I decided to take it further and add multiple difficulty levels, one-player-vs-cpu mode, and an AI that could play against you. The interface for the game was created in VSCode using a customs graphics class that could draw circles, lines, etc. This was my first attempt at creating AI and I loved it!

Check out pictures and files below, as well as my GitHub for this project!

Screen Shot 2020-06-19 at 12.21.54
Screen Shot 2020-06-19 at 12.21.33
Screen Shot 2020-06-19 at 12.24.11


Download to dive into the code


Source code

Main source code file for game, includes functions, graphics functions, main. Download as text file (.webarchive)

bottom of page