Skip to content

thormander/AI-Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Snake

snakegame_ai

Introduction

This repository contains a Python-based Snake game using the Pygame library. The game features a classic snake game with a simple AI integration using Q-learning for automation.

Installation

To run this game, you need Python and Pygame installed on your machine.

  1. Clone the Repository
    git clone https://github.com/thormander/AI-Snake.git
    
  2. Install Pygame
    pip install pygame
    

Usage

  1. Through the command line (make sure to cd to directory installed in):
    python snake.py
    

AI controlled

  • Uses Q-learning to provide a simple reward system to control the snake to move toward the food

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages