voaneves/snake-on-pygame

Snake game implemented in Pygame that can be controlled by human input and AI agents (DQN). Who's best? :snake: :robot:

36
/ 100
Emerging

This project offers a version of the classic Snake game that can be played by humans or controlled by an artificial intelligence (AI) agent. You input your moves directly, or an AI agent processes game states (like snake and food positions) to make its own moves. It's designed for anyone interested in playing the Snake game or observing how AI (specifically Deep Q-Networks) learns to play.

No commits in the last 6 months.

Use this if you want to play a fun Snake game, compare your scores against others, or watch an AI agent learn and play the game.

Not ideal if you're looking for a complex, strategy-based game with a deep storyline or advanced graphics.

casual-gaming AI-demonstration human-AI-comparison game-playing reinforcement-learning-example
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

11

Forks

4

Language

Python

License

MIT

Category

snake-game-ai

Last pushed

Nov 03, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/voaneves/snake-on-pygame"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.