aditek1105 / AI-for-Snake-Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Snake Agent

Adapted from the work of Craig Haber with the original work available at Source Repo

Overview

Over the course of this project we intend to make an AI for the Snake game using various Path Traversal Algorithms (BFS, DFS, A* Search etc.), and attempt at making this game into an Advarsarial game where two agents, the Board and the Snake Agent can compete in a zero-sum game.

main.py
	Try out the Console version of the snake game. Uses WSAD for movement

Dependencies

  1. Python version of 3.10 or higher.

Instructions

About the Game:

main.py

	Use the WSAD keys to move up, down, left, or right.
	The goal is to get the snake as long as possible by eating fruit (the red squares)
	You will die if:
		1. The snake hits a wall.
		2. The snake hits its own body.

About


Languages

Language:Python 100.0%