Skip to content

A multi-agent Snake game where a computer agent learns via Deep Q-learning and players can compete against the AI

Notifications You must be signed in to change notification settings

Gupta-Aryaman/MultiAgent-Snake-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi Agent Snake Game

Making computer agent learn snake game using Deep Qlearning Algorithm. Player/User can also compete against the computer agent (MultiAgent Game).

Project Screenshots

Training

alt text

Playing against AI Agent

alt text

Run the code -

  1. Create and activate virtual environment
python -m venv env
.\env\Scripts\activate
  1. Install required modules
pip install -r requirements.txt
  1. Train the AI Agent
python train.py
  1. Play against the AI Agent
python agent.py

About

A multi-agent Snake game where a computer agent learns via Deep Q-learning and players can compete against the AI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%