Cycles

Saved games stay in this browser only.

About the game

The board is a square grid of cream tiles, each with a short black line on it: straight pieces, bends, crossings and T-junctions. Drag any tile and its whole row or column slides along with it, wrapping around the edge. When the lines on neighbouring tiles join into a closed loop, a cycle, the loop and everything it encloses disappears, new tiles fall in, and you score.

The game is a series of short challenges, one goal at a time: build your first cycle, chain cycles into combos, destroy a glitch tile, stop a spreading glitch before the timer runs out, reach a score within a limited number of turns, clear all blockers. After the ninth goal comes Free Play. The game remembers which level you reached.

It was written by Piotr Szlachciak for js13kGames 2016, whose theme was "Glitch", which explains the corrupted tiles in the later levels. Everything is drawn on a canvas by the code; there are no image files.

Playing it here

Click Play. The goal of the current level is written under the board. The board is tall, so on a phone keep it upright.

Controls

Input Action
Drag a tile sideways slide its row
Drag a tile up or down slide its column
Arrow button restart the level
X button erase saved progress and go back to the first goal

A few things worth knowing

Bigger loops score more. Enclosing tiles inside a cycle removes them too, so a wide loop clears much more of the board than a tiny square.

Combos come from chains. Clearing a cycle drops new tiles that can complete another one; the game announces those chains with "Nice", "Great", "Amazing" and stronger words.

Rows wrap around. A tile pushed off one edge comes back on the other, so the piece you need may be just one slide away in the opposite direction.

Glitch tiles have to be enclosed. In the glitch levels, catch the corrupted tiles inside a loop to destroy them before they spread.

FAQ

How many levels are there? Nine goals, then Free Play, where you can keep scoring without a target.

Does it save my progress? Yes. The level you reached is stored in this browser and the game continues from it next time.

What is the X button for? It wipes the saved level, so the game starts again from the first goal. Use the arrow instead if you only want to retry the current level.

Credits and licence

Cycles was made by Piotr Szlachciak for js13kGames 2016. It is released under the MIT licence; the licence text is linked from this page and the source code is on GitHub. We serve the files from the author's repository, unchanged.

Screenshots

Screenshot of Cycles