Book Image

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

By : Aarthi Elumalai
Book Image

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

By: Aarthi Elumalai

Overview of this book

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 https://github.com/PacktPublishing/Artificial-intelligence-in-Game-development---Tic-Tac-Toe-AI
Table of Contents (9 chapters)
Free Chapter
1
Introduction
Chapter 6
[OPTIONAL] JavaScript & HTML5 Canvas Basic Concepts (related to this project)
Content Locked
Section 15
Step 1 & 2 - Getting the canvas and creating the drawing object
[OPTIONAL] JavaScript & HTML5 Canvas Basic Concepts (related to this project): Step 1 & 2 - Getting the canvas and creating the drawing object