Show HN: Watch a neural net learn to play Snake

Hacker News Top Tools

Summary

A web-based tool that visualizes a neural network (using PPO) learning to play Snake in real-time, with configurable parameters and 3D rendering.

In browser PPO training demo, made possible by tinygrad: TinyJit -&gt; WebGPU kernels.<p>Requires WebGPU.
Original Article
View Cached Full Text

Cached at: 05/15/26, 06:33 PM

# tinyppo-snake Source: [https://ppo.gradexp.xyz/](https://ppo.gradexp.xyz/) ## Environment Sample idle ## Trained\-policy roll\-outs 0·trained0 griddelay40ms parameterlive updateswaiting for first snapshot… Initializing 3D renderer… step \#— no tensor loaded ## Configure runs preset idle no runs yet

Similar Articles

NEUROMORPHIC Algorithm that plays Ping-Pong

Reddit r/artificial

A neuromorphic algorithm demonstrates learning and imagination by playing ping-pong, outperforming standard algorithms and adapting to inverted controls. The code was built with POWER-KI and PWK-AI-WORKBENCH via 100% vibe coding.

Show HN: High-Res Neural Cellular Automata

Hacker News Top

Introduces High-Res Neural Cellular Automata that operates on a coarse lattice and uses a Local Pattern Producing Network to generate high-resolution outputs, enabling efficient procedural generation.

Show HN: Neural Particle Automata

Hacker News Top

Introduces Neural Particle Automata, a method for learning self-organizing particle dynamics using smooth particle hydrodynamics perception, enabling particles to have local perception vectors for an update rule, analogous to Neural Cellular Automata but on continuous particle positions.