Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

Watch a neural net learn to play Snake

Details

External ID
48136981
Source
HN
Company
—
Product
Watch a neural net learn to play Snake
Website domain
gradexp.xyz
Launched
May 14, 2026
Cohort
—
Upvotes
205
Upvotes percentile
0.9644588045234249
Tags
—
Fetched at
Sept. 7, 2026, 9:26 p.m.
Updated at
Sept. 7, 2026, 9:26 p.m.

Description

In browser PPO training demo, made possible by tinygrad: TinyJit -> WebGPU kernels.Requires WebGPU.

Enrichment

Theme
indie mini-games and interactive toys
Vertical
Education
Function
Content generation
Audience
B2C
AI stance
AI-native
Project type
Hobby / open-source project
Normalized one-liner
neural network visualization for learning
Manually corrected
False

Could you build this?

Partial While the Snake game UI is simple, compiling reinforcement learning algorithms (PPO) via TinyJit directly into custom WebGPU compute shaders requires deep GPU programming and ML framework knowledge.

What it would actually take: The frontend is a standard canvas rendering the Snake environment, but the core engine relies on tinygrad and custom WebGPU compute kernels to execute batched tensor operations and PPO updates directly on client hardware. A builder needs specialized knowledge in WebGPU shading language (WGSL), computational graph compilation (similar to tinygrad's TinyJit), and deep reinforcement learning implementation nuances to ensure numerical stability and parallelized rollout generation in the browser.

Discussion

20 comments analyzed.

Competitors mentioned: LLM playing snake (alternative implementation)

Concerns raised: Bitdefender flags website as suspicious/malicious, WebGPU not supported on Mac/Safari, AI gets stuck in local minima repeating same board states

Feature requests: Open-source the repository, Give neural network visual sense to locate food/apple, Penalize repeating board states to force learning progression

Competitors

Other products that read as similar to this one — 27 launches clear the similarity bar, closest 8 shown.

Attention rank: #1 of 28 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 174 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a content generation tool for Government yet.