Skip to content

yuhsienchiang/snake-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snake-ai

Description

This project aims to explore the ability of various AI models to play the timeless Snake game. The primary objective is to employ diverse AI models and assess their performance, drawing comparisons to discern their respective strengths and weaknesses.

Setup

  1. Create and activate virtual env with pyenv
    pyenv virtualenv 3.10.12 snake_ai
    pyenv local snake_ai
  2. install the dependencies:
    pip install -r requirements.txt

Play the Game

To train an agent:

python src/train_snake_runner.py

You can also play the game yourself:

python src/snake_runner.py

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages