Artificial Intelligence in Game Development- Tic Tac Toe AI [Video]

More Information
  • Create a complete dynamic Tic Tac Toe game app with an unbeatable AI with Javascript, HTML5 canvas and CSS
  • Improve your web app development, web game development & javascript skills
  • Improve your front end design and development skills
  • How to design the game logic for the game and implement it as code
  • Learn HTML5, CSS3 and much more while developing your game
  • Add artificial intelligent to your resume with this project as proof of your knowledge

The author made this course as easy to understand as possible. The author structured it in such a way that each section will handle one major part of the course.

Introduction: This is where we'll explain how the game works, it's various features and what we'll be using to achieve the same results.

Module 1: We'll explain the basics of artificial intelligence and it's various terminologies. We'll put the ground work you'll need to understand the further concepts explained in this course.

Module 2: We'll explain what the MiniMax alrogithm is and how it's implemented. We'll use pictorical and graphical representation to explain the concept with 2 detailed examples. We'll also explain the Pseudocode of the algorithm.

Module 3: We'll explain how the MiniMax algorithm can be implemented in creating an artificial intelligence based player (computer player) for a Tic Tac Toe game. We'll explain the concept with another pictorial representation of the entire process.

Module 4: We'll delve into Javascript and HTML5 canvas concepts that are related to the project we'll be creating.

Module 5: We'll be teaching you how to create the bare bones of the app with HTML5. The result will be a page with all the elements we need in our game, devoid any colors or design elements. After that, we'll "beautify" our app. We'll be using CSS elements to give our game colors and styles. At the end of this module, we'll have a Tic Tac Toe web game that'll look like the final result, albeit one that is not playable yet.

Module 6: We'll introduce a step by step algorithm that explains what we'll be doing while creating the Javascript part of our code.

Module 7: We'll be delving into Javascript & HTML5 canvas code of our game in this module, and we'll teach you how to make the game playable (let the user draw on the canvas and display the game results) in here. In this part, we'll create the necessary code to make the human player play the game on the app.

Module 8: This would be the meat of the course. In this module, we'll be applying the MiniMax algorithm with relevant Javascript code to create an artificial intelligence that can play against the human player (the web user).

All the code files are placed at

Style and Approach

This course combines Artificial intelligence and Javascript and takes you into the world of 2D game development and creating 2D AI games. 

  • Delve more into theories and implementation by learning what MiniMax algorithm is, and how to implement it,
  • Apply your new found knowledge to create a fully functional Artificial intelligence that can play a Tic Tac Toe game against expert human players.
  • All the while learning, and becoming proficient in Javascript, HTML5 canvas, HTML5, CSS3, front end web development and 2D game development. 
Course Length 9 hours 35 minutes
ISBN 9781838644772
Date Of Publication 28 Feb 2019


Aarthi Elumalai

Aarthi Elumalai - Entrepreneur and programmer with 8 & 10 yrs experience resp.

She has been making money online for over 6 years now, right from when she finished high school. She kept equipping her knowledge and trying out new methods throughout college, so when she finished her studies, she can work for herself and someone else. She is proud that she has accomplished that goal. Her businesses involve affiliate marketing, services, list building, Kindle etc. She believes in keeping her eggs in various baskets, and she only preaches what she practices & believes. She recently decided to document her methods and knowledge in the form of helpful information products. She believes in being as thorough as possible, and that's what you'll find in her courses. She will cover every aspect of a business or method so her students are equipped with the complete knowledge they need to start their business and run it successfully.