Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS182 Final project: Smart Snake

Inspired by a repo by Tales Carlos de Pádua

Demonstration of various search agent used to guide the snake to eat food in the classic snake game:

Breadth-First Search Agent using Fruit List 2. Final length: 26. Path length: 132

alt text

Depth-First Search Agent using Fruit List 2. Final lenth: 20. Path length: 3946

alt text

Greedy Search Agent using Fruit List 2. Final lenth: 14. Path length: 68

alt text

Smart Random Agent using Fruit List 2. Final lenth: 13

alt text

Breadth-First Search + Random Agent using Fruit List 1. Final length: 28. Path length: 190

alt text

About

A class final project where I use various path-finding algorithms to create an agent that plays the snake game

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages