Skip to content
breakpoınt

GPU Puzzles (WebGPU)

Write WGSL code for GPU threads and pass each puzzle's tests

Here you write small GPU programs in WGSL, the shading language of WebGPU. Each puzzle sets how many threads run in a workgroup and how many workgroups run. You fill in the code that each thread runs, and the page checks if your result passes the tests.

Play on gpupuzzles.answer.ai

Free · No login · Browser · Intermediate

About GPU Puzzles (WebGPU)

The puzzles teach you to think in parallel: how threads split up work and how each thread finds its part of the data. The site is a browser port of Sasha Rush's GPU Puzzles, which first used CUDA. It suits programmers who are new to GPU code, and it has an intro page for beginners.

The code runs on your own GPU inside the browser, so you need a browser with WebGPU support. Chrome on Windows and Mac should work. On Safari and Linux you may need to turn WebGPU on in settings.

On Breakpoint since 23 Oct 2026.

Is this your game? Update the listing

Keyboard shortcuts

j / k
Move down / up the list (this page)
] / [
Next / previous page
o
Open the focused game
b
Save or unsave the focused game
/
Search (the home list, or the command palette elsewhere)
Ctrl K
Command palette: games, skills, pages (works even when single keys are off)
?
This help