Day 4 PM Session Plan
This session introduces students to using customized AI players for the snake game
Session Introduction
TEACHER LED
What Are We Doing?
Refactoring the Snake Game Code
Adding a Basic AI to Play the Game
Adding an Advanced AI to Play the Game
Snake Game AI
SELF-PACED
- After completing the lesson content, the students can change the visuals for the game, the gameplay of the game, or creating more advanced AI methods.
Students will learn:
How to refactor the code to use a custom AI
Creating a randomized AI
Creating a world-aware randomized AI
Creating an AI that identifies the shortest path to the goal