Triangle Puzzle

Saved games stay in this browser only.

About the game

Triangle Puzzle shows a large triangle cut into nine small ones, drawn as ten dots joined by red, green and blue edges. Somewhere there is a target pattern, a solution with the same edges in different colours, and your job is to turn the puzzle into it.

You change the colours by picking dots. Select the three corners of one small triangle and its three edges rotate their colours counter-clockwise. Select three dots that hold two edges between them and the Swap Colors button lights up: press it and those two edges trade colours. Unselect All clears your selection and Reset Puzzle puts every edge back where it started. The score starts at 60 and every move costs a point, so the fewer moves you need, the better.

The game is by Bofner (Steel Finger Studios). It began as a Java assignment in a software engineering course, and he rewrote it in Z80 assembly as his first Master System game, adding a studio splash screen, a title with parallax scrolling and a pause screen that shows the solution. It runs on real Master System and Mega Drive hardware.

Playing it here

This is a homebrew game for the Sega Master System, running in the Gearsystem emulator. Click Play and press Z at the title screen. The puzzle sits on the left and the buttons on the right; X moves your cursor from one side to the other. Press Enter at any time to see the solution, and Enter again to return. F2 saves the emulator state and F4 loads it.

Controls

Key Master System Action
Arrow keys D-pad move between the dots, or between the buttons
Z button 1 select / unselect a dot, press a button, start
X button 2 switch between the puzzle and the buttons
Enter Pause show the solution
F2 / F4 — save / load the emulator state

Tips

Look at the solution first. Press Enter before your first move and count how many edges of each colour are already in the right place.

Use rotations for triangles, swaps for neighbours. A rotation moves three colours at once; a swap only touches two. Finish with swaps, when only a couple of edges are wrong.

Do not chase the last point. Every move costs one point, but a few extra moves are better than resetting and starting over.

Hidden palette. On the title screen, button 2 changes the edge colours.

Credits and licence

Triangle Puzzle is by Bofner and is released under the GNU General Public License version 3. We serve the ROM the author published on SMS Power!, unchanged; the licence text and the source code of that exact build are linked from this page.

Screenshots

Screenshot of Triangle Puzzle