Back to Catalog

Build your own Unbeatable TicTacToe AI

BeginnerGuided Project

Everyone has played TicTacToe at least once in their life. Have you ever thought about creating your own AI TicTacToe player? Reinforcement Learning can help you with that. In this project, you will explore the basics of Reinforcement Learning and the Monte Carlo Method. You will learn how to train your own agent and create a highly-skilled AI player. This project is an interesting and challenging way to apply machine learning concepts to a well-known game.

4.6 (9 Reviews)

Language

  • English

Topic

  • Artificial Intelligence

Enrollment Count

  • 152

Skills You Will Learn

  • Machine Learning, Artificial Intelligence, Data Science

Offered By

  • IBMSkillsNetwork

Estimated Effort

  • 60 Minutes

Platform

  • SkillsNetwork

Last Update

  • May 1, 2024
About This Guided Project

Why you should do this Guided Project

Welcome to the exciting world of reinforcement learning!  As you may already know, Tic-Tac-Toe is a simple but addictive game played on a 3x3 grid.But what if we could train a machine to play Tic-Tac-Toe against a human opponent, and potentially even beat us at our own game? That's where reinforcement learning comes in. It was thought it would take decades before a computer beat a Go champion. But now, thanks to reinforcement learning, computers can easily beat Go champions, beat Chess Grandmasters and outperform Humans in every game.  In this project, you will use Monte Carlo Reinforcement learning algorithms to train agents  for Tic-Tac-Toe . You will quickly grape import concepts of Reinforcement learning and apply open AI's  gym, the go-to framework for Reinforcement learning.

A Look at the Project Ahead

In this object you will learn how to:
  • Work with an OpenAI Gym environments
  • Explain what Reinforcement Learning is
  • Explain what Monte Carlo Method is
  • Create an agent that uses Monte Carlo Method to play TicTacToe
  • Train and Test the agents using the TicTacToe environment
  • Improve and update your algorithm.

What You'll Need

  • Knowledge of python programming language.

Frequently Asked Questions

  • Do I need to install any software to participate in this project?
    Everything you need to complete this project will be provided to you via the Skills Network Labs and it will all be available via a standard web browser.


  • What web browser should I use?
    The Skills Network Labs platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer, or Safari.


Instructors

Artem Arutyunov

Data Scientist

Hey, Artem here! I am excited about answering new challenges with data science, machine learning and especially Reinforcement Learning. Love helping people to learn, and learn myself. Studying Math and Stats at University of Toronto, hit me up if you are from there as well.

Read more

Joseph Santarcangelo

Senior Data Scientist at IBM

Joseph has a Ph.D. in Electrical Engineering, his research focused on using machine learning, signal processing, and computer vision to determine how videos impact human cognition. Joseph has been working for IBM since he completed his PhD.

Read more