Llwybr

Blocks → Python. Code. Steps. Adventure.

A bilingual maze game for learning to code — solve every level with drag-and-drop blocks or real Python.

▶ Play now Free — no login needed
Llwybr
🧩

Blocks → Python

The same levels, two ways to solve them — watch your blocks become real Python as you build.

🏴󠁧󠁢󠁷󠁬󠁳󠁿

Bilingual

Cymraeg and English throughout — switch language any time without losing your work.

Stars for tidy code

Reach the flag within par to earn three stars — loops pay off!

🎓

Certificate

Complete all ten levels to earn a bilingual certificate to save and share.

The journey

Ten levels, one concept at a time

Level 1 — a straight sand path through trees to a flag
Level 1

First steps

Simple sequencing: move forward to the flag.

Level 2 — a pond blocks the path ahead; the flag is behind
Level 2

Reverse!

A pond blocks the way — reverse without turning.

Level 7 — a staircase-shaped path climbing to the flag
Level 7

The staircase

Find the pattern and repeat it in a loop.

Level 10 — a winding path from a dead end to the flag
Level 10

The gauntlet

Reverse, turn, loop — everything together.

The Llwybr editor: an if-block inside a repeat on the left, the maze in the middle, and the generated Python code alongside
Level 8

One program, two views

The real editor: build the if-block on the left, watch it become Python on the right — then switch tabs and write the Python yourself.

How it works

From first block to real Python

1

Build

Drag blocks to steer the adventurer through the maze.

2

See the code

Every block shows its Python — one program, two views.

3

Write Python

Ready? Type real Python — it runs right in your browser.

Get in touch

Question, bug report, or an idea for a level? I'd love to hear from you.