Skip to content

A snake game where the snake learns to play on its own using reinforcement learning!

Notifications You must be signed in to change notification settings

VarunDamodaran/autoSnake.ai

Repository files navigation

Snake Game with Reinforcement Learning

This project implements a classic Snake game where the snake learns to play optimally using the Deep Q-Network (DQN) technique. The project demonstrates the use of reinforcement learning to teach the snake to navigate the game environment efficiently.

Table of Contents

Introduction

The Snake game is a classic arcade game where the player controls a snake to eat food and grow longer while avoiding collisions with the walls and its own tail. In this project, we employ the Deep Q-Network (DQN) technique to teach the snake to play the game optimally.

Features

  • Implementation of the classic Snake game.
  • Reinforcement learning using the DQN technique.
  • Training and evaluation modes.
  • Live visualization of the snake's learning process.

Progress Video

Watch the progress of the snake learning to play the game in the following video: Snake learns to play on its own!

About

A snake game where the snake learns to play on its own using reinforcement learning!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages