Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.3 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.3 KB

Snake AI

cas


This Is A Snake AI that uses a Linear QNet network for the computer to learn how to play snake - written using pytorch

Install Source Code

Train or Load Pretrained Model

To Test the AI run the Snake_AI.py file
To train model select option 0
To load pretrained model select option 1

Screenshot 2022-02-26 at 7 11 24 pm

Play The Game Yourself

To play the game youself just run the Snake.py file

Screenshot 2022-02-26 at 7 11 24 pm