Bit Maze

Saved games stay in this browser only.

About the game

A round red creature stands at the top of a tall tower, and somewhere at the bottom a mysterious plant sways to a little tune. Your job is to get there. The way down is a maze of brick walls, cloud blocks and narrow shafts, and the screen scrolls as you fall.

You run with the arrow keys and jump with Space, and you have to do both with some care: the creature builds up speed, it slides a little when you let go, and a jump too early sends it into a wall. The danger is the spiders. Five of them are hidden along the way and stay out of sight until you touch them, and one touch ends the run. When that happens, or when you reach the plant and win, a message appears and Space starts over.

Bit Maze is the first Pyxel game, and the first Python program, of its author, Takane Ichinose, who builds it whenever they try out a new game engine. It is a short game, and it makes a nice small example of what Pyxel can do.

Playing it here

The first time you click Play the page downloads Pyxel and the Python runtime (about 15 MB), which takes a few seconds; after that the game shows a "click to start" prompt, and one more click starts it with sound. Nothing is loaded from other sites, and nothing is saved: every visit starts at the top again.

On the web we turned off the Esc key that closes the game on the desktop, because on a web page it would only freeze the screen. To start over, press Space after a win or a loss, or reload the page.

Controls

Input Action
Left / Right arrows run left and right
Space jump; start again after a win or a loss
Gamepad d-pad and A the same, on a connected controller

A few things worth knowing

The tower is taller than the screen. The view follows you down, so what you see at the top is only the start. Look for the gaps before you jump into them.

You cannot see the spiders. They are hidden until you touch them. When a spot looks too safe, treat it with suspicion and take the other route.

A short run before a jump goes further. Space gives a fixed jump, but your horizontal speed keeps building while you hold an arrow, so a longer run makes a wider jump.

Frequently asked questions

Is there a save? No. The game is a single trip down the tower, and it starts from the top every time.

Does it work on a phone? The game was made for a keyboard or a game pad. The page offers an on-screen pad on touch devices, but we have not tested the game with it.

Why does it say "click to start"? Browsers only allow sound after you interact with the page, so the Pyxel launcher asks for one click before it starts the game.

Is it free? Yes: Bit Maze is open source under the MIT licence.

Credits and licence

Bit Maze was made by Takane Ichinose. The author says that all the images and sounds were drawn and composed with the Pyxel editor, and they live in a single resource file in the repository. The game is released under the MIT licence; the build served here changes a single line (the key that quits is turned off) and the licence text goes inside the game file. It runs on the Pyxel engine (MIT) and the Pyodide runtime (MPL-2.0), whose licences and source are linked from the Licenses page.