Ross ROSS = Recommend OSS · open-source software intelligence for agents

linyiLYi/snake-ai resource

An AI agent that beats the classic game "Snake". observed · 2026-08-28

github.com/linyiLYi/snake-ai · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

30/100

  • Activity 0
  • Release rhythm 35
  • Longevity 87

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1226
  • days_rel: n/a
  • days_push: 855
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1785 stars · 401 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Python project implementing the classic Snake game with Pygame and an AI agent trained via deep reinforcement learning to play it. It provides MLP-based and CNN-based agents (using Stable-Baselines3 and OpenAI Gym) with pretrained model weights and training logs viewable in TensorBoard.

Use cases

  • learn deep reinforcement learning with a hands-on example
  • train an AI to play the snake game
  • compare MLP vs CNN agents in reinforcement learning
  • demo of reinforcement learning for game playing
  • study a simple RL project with pretrained models
  • teach reinforcement learning concepts with a classic game

When to choose

  • you want a small, well-documented project to learn deep RL basics
  • you want pretrained Snake-playing agents to test and explore
  • you want a Pygame + Stable-Baselines3 reference implementation

When to avoid

  • you need a production game or general-purpose RL framework
  • you need agents for games other than Snake
  • you need maintained, actively developed RL tooling

Facets

learning-resource · maturity stable

reinforcement-learning machine-learning game deep-learning reinforcement-learning machine-learning gaming-tools education python windows cross-platform snake-game pygame stable-baselines3 openai-gym dqn mlp cnn pytorch tutorial gpu

1 source

Member repositories

RepositoryRoleHealth v2
linyiLYi/snake-aimain30

For agents

markdown · JSON · MCP: product_card(name="linyiLYi/snake-ai")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem