Save this video free

COMP 3200 - Intro to Artificial Intelligence - Lecture 12 - Assignment 3

Dave Churchill · 1:51:31 · Watch on YouTube

COMP 3200 - Intro to Artificial Intelligence - Lecture 12 - Assignment 3 Watch on YouTube →

Overview

Dave Churchill reviews COMP 3200 midterm expectations, then explains Assignment 3, a Connect 4 agent built with minimax, alpha-beta pruning, iterative deepening, time and depth limits, and a student-designed evaluation function. He demonstrates the interface and behavioral tests, then walks through the JavaScript game-state and player code, emphasizing a debugging sequence: make plain minimax pass the tests before adding pruning and heuristic evaluation.

Key takeaways

Chapters

0:00 Midterm Scope and Exam Logistics
4:00 Core Algorithms, Pseudocode, and Exam Question Format
8:00 Exam Length, Layout, and Missed-Midterm Policy
12:00 Studying with Slides, Lecture Videos, and Repetition
19:00 Connect 4 Rules and Legal Column Actions
20:00 Board Size, Game Balance, and Player Options
24:00 Random and Greedy Baselines for Testing
28:00 Student Agent Time and Depth Limits
32:00 Behavioral Tests for Minimax Search Depths
37:00 Testing Search Behavior Before Heuristics
45:00 Evaluation Button and Possible-Connect-Four Heuristic
50:00 Assignment Testing and Heuristic Requirements
53:00 Assignment Files and GameState Representation
58:00 GameState Actions, Undo, and Legal Moves
1:04:00 Win Detection and Deep Copies
1:10:00 Random and Greedy Player Implementations
1:19:00 PlayerStudent State and Search Setup
1:25:00 Iterative Deepening and Search Limits
1:32:00 Timeout Handling Without Recursive Exceptions
1:38:00 Alpha-Beta Terminal Checks and Minimax Recursion
1:44:00 Custom Heuristic Rules and Lookahead Boundaries
1:50:00 Submission Guidance and Assignment Support

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 So today's lecture is number 12 and we'll be talking about assignment three. But what I'm going to do is first go over um that post I made about the midterm because the assignment 3 demo is not going to take much time. Um I'm going to go over the midterm stuff. Then I'll give the assignment three demo and what you have to do. And then later on I'll do what I did before and put the live coding part at the end of the lecture so I can spend more time at it um rather than rushing through it here. So as you can see uh so it is October 22nd. We're doing uh this lecture which is the lecture before the midterm. I said that the midterm would cover all the lectures up to and including this one, but really um there's not a lot of stuff that I could ask about assignment

0:49 three that wasn't in the lectures before. And so really the only things that I could ask about this lecture are algorithmic and they've already been in the previous slides. So I guess to be more accurate, you could not study today's lecture and be fine for the midterm. It's just the assignment three information. Um, keep in mind that there can be um, so this we weren't in class for this one. So I just want to make I'll color this one just to indicate that we weren't live um, in class for that one, but I gave a video for that. So make sure you do look over the slides and the video for the um, voting algorithms because there can be a question about that on the exam, but we didn't do it like in class. it was just a video

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Dave Churchill.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.