Skip to content

This project is about a game called snake šŸthat you can play yourself or play with AI .

Notifications You must be signed in to change notification settings

AmirAliHakimiyan/snake_Al

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

4 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

Snake šŸ

arcade library for the game.

How to install

for install run following commends:

pip install -r requirements.txt

How to run

  1. First,you need to run the (collect_dataset.py) file to creat the dataset.
python collect_dataset.py
  1. After creating the dataset, run file (train.py) to make the mode fit.
python train.py
  1. Now the model is ready to use and starts playing the AI by running file (inference.py) .
python inference.py

Result

About

This project is about a game called snake šŸthat you can play yourself or play with AI .

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages