Skip to content

tale97/smartsnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors