
One language, many worlds
Why Pyon has no dimension, and how Kirakira Hop · Cubes came to be played with Pyon keys
By Dara O Shayda and Hikari Noor Hoshino (星野ヌール)
AI System Programming Laboratory, Computational Classnotes · 3 December
2026
A write-up of a working conversation of 3 December 2026, in which
Kirakira Hop was rebuilt as islands of cubes and played with the keys of
Pyon. Companion to the paper Pyon: a picture language for
children in which a line is a product (paper/pyon-paper.pdf,
DOI 10.13140/RG.2.2.22314.25287).
1. The idea: landing places as the top faces of cubes
Kirakira Hop is one of the CCN Casual Games: Mochi or Onigiri hops across floating islands to Hidamari Meadow while the Gloom swallows the rows behind. The islands are low polygons, and the game is steered by holding and dragging.
The proposal was to rearrange the landing polygons so that each one sits as the top face of a cube, one of many cubes that divide a larger Euclidean space into unit cells. A level is then simply a height map: for each floor square (x, z), a stack of so many cubes, or none at all where there is only sky. With x to the right, y upwards and z forward towards the meadow, the moves become whole-number vectors:
| key | move | vector |
|---|---|---|
| → | hop to the right | (+1, 0, 0) |
| ← | hop to the left | (−1, 0, 0) |
| ↑ | hop one row forward | (0, 0, +1) |
| jump | one cube up and one row forward | (0, +1, +1) |
The world adds its own rules: a hop onto a lower stack drops down onto it; a step up needs the jump; a step of two cubes is a bump, and the creature stays where it was, as at a wall in Pyon; a hop onto empty sky is a fall, and costs a heart.
Then the numbers. In Pyon a number in front of a line repeats the whole line, at most nine times: ×2 ×3 is six. Two readings were possible here. Under Pyon’s own rule, ×3 → is three hops, landing on every cube on the way, so a repeated hop cannot cross a gap. Under the other reading, ×3 → would stretch the vector into one leap of (+3, 0, 0), clearing the gap. Pyon’s rule was chosen, so that a number means the same thing everywhere; the leap remains a possible key of its own.
2. A new version beside the old one
The first Kirakira Hop was kept exactly as it is, and the cube
version was built as a new game, Kirakira Hop · Cubes
(cubes.html), in the Pyon
repository. It has eight levels, each with a par, the fewest
keys that bring the creature home (three stars at par), Shizuku flowers
to gather, the Gloom eating a row every few moves, and hearts. The
player writes lines of keys and presses Go; the program is the whole
route. A level such as The stairs is climbed by
×3 jump
×2 ×2 ↑
×3 jump
↑
which is eight keys for twenty-two cubes of climbing and descending.
Two things showed at once. On open ground the order of moves does not matter: → then ↑ lands on the same cube as ↑ then →, because the vectors simply add. It is the islands, with their gaps and steps, that make order matter, since only one of the two paths may stay on solid cubes. This is the paper’s ordered monoid, met with the hands. And a line that repeats, given a number, is the shortest program: the par of each level is reached by finding the pattern in the island.
3. Two dimensions, three, or two and a half?
The cube game is drawn from one fixed slanted viewpoint: a three-dimensional world of cubes and heights, seen as a flat picture. Games of this kind are called 2.5D. The first Kirakira Hop renders its islands in a three-dimensional scene; the cube version draws them in 2.5D; the Pyon app plays on a flat 6×6 square.
4. Pyon has no dimension
The question that followed was whether any of this makes a difference in Pyon. It does not.
Pyon has no concept of dimension, just as C# has
none. In C#, dimension comes from the libraries and the engine around
the language, such as the Vector2 and Vector3
of Unity, its cameras and its physics; the language itself has only
values, statements and loops. In Pyon, dimension comes from the
world a story is played in. A key is a symbol, and a
line is a word made of symbols. Whether → means a step along the square
or the vector (+1, 0, 0) among the cubes is decided by the world, not by
the language.
In the language of the paper: the lines of Pyon form a monoid, and the numbers act on it as powers. A world is a set of states together with an action of that monoid on it, a rule that turns each key into a change of state. The flat square, the islands of cubes and any three-dimensional scene are different actions of one and the same monoid. The sentence is unchanged; only its meaning in the world changes.
So the same Pyon program can drive a flat game, a 2.5D game or a true 3D game, and only the world is rewritten. This is the separation every programming language keeps between what is said and the world it is said to.
5. One caution, and what remains open
A key should keep one meaning everywhere a child meets it. On the Pyon square the jump key is a trick done on the spot; among the cubes it moves the creature one cube up and one row forward. If the two worlds are used side by side, the cube game may deserve a key of its own, a climb.
Still open: whether ×2 and ×3 should also be offered as a stretched leap over gaps; whether +hop and −hop should have keys of their own; and whether Pyon’s lamps and again should come to the cubes, as in again, dark edge, +hop, which would hop until the edge of an island.
Where to find it
- Kirakira Hop · Cubes: https://lossofgenerality.github.io/ccn-pyon/cubes.html
- The first Kirakira Hop: https://lossofgenerality.github.io/ccn-casual-games/games/kirakirahop/
- The manga, whose seventh chapter tells this story: https://lossofgenerality.github.io/ccn-pyon/manga.html
- The library of every Pyon paper, notebook and guide: https://lossofgenerality.github.io/ccn-pyon/library.html
© Computational Classnotes · CC BY-NC-SA 4.0