Shape the generated polygon to match the picture. You can do so by dragging the vertices (conrners) of the polygon.
The game is designed to be about speed and precision but who am I to tell you how to play it! Making it pretty and being creative is highly encouraged.
A shape will be marked completed if the lines of the polygon mostly cover the image and if all vertices (cornerns) of the polygon turn golden.
Your personal best is automatically stored locally in your browser. If you clear your browser data, those scores will disappear, but you can use the Save and Load buttons on the level select screen to download a backup file to your computer!
What is a Polygon?
A polygon is a flat, 2D shape with straight sides that are fully closed (all the lines connect up). Examples include triangles, squares, and hexagons. In Shape-A-Gon, you manipulate the vertices (corners) of these polygons to match the target silhouettes!
Is Shape-A-Gon free to play?
Yes, the game is completely free to play! In fact, it is a 100% ad-free experience. There are no banners, no unskippable videos, and absolutely no interruptions to your gameplay.
Do I need to download an app?
No downloads required! Shape-A-Gon runs natively right in your web browser. It uses WebAssembly (WASM) to deliver fast, app-like performance without taking up any storage space on your device.
How are my high scores saved?
Your personal best times are saved securely right on your device using your browser's Local Storage. This means no accounts or logins are needed! However, keep in mind that clearing your browser data or cache will erase your records. To prevent this, you can use the Save button on the game's level select screen to download a backup file, which you can Load later if your scores are ever reset.
I’ve loved gaming since I was a little boy. I’ve played a variety of games but was mostly drawn into Action RPGs (Diablo series and now Path of Exile) and MMORPGs (with World of Warcraft being the main game I’ve spent most time on). I’ve always wanted to write my own game, but being a full-time employee and a full-time father and husband, made this hard to achieve without making some sacrifices.
However, with the evolution of Generative Artificial Intelligence, that goal became actually reachable since it helps immensely with saving time on research, prototyping and actually writing production code.
Since I am a solo developer and architect, I wanted to focus my time on writing and improving the game, rather than having a backend architecture that requires designing, implementing, securing and of course paying for since nothing is really free today. Hence one of the design decisions and requirements was to build my first game fully client side.
The Learning Experience
This game was also a great learning experience around:
- Writing and improving Rust development.
- Using WASM.
- Using Generative AI.
- Graphics and Game development.
Generative AI Tools Used
The following AI tools were used to help me write Shape-A-Gon:
- Google Gemini Pro 3.1 - Paying for a Google Plus subscription and using regular prompting via web interface to do research, prototyping and developing the actual game code.
- Suno - I’ve paid for a month to generate the game audio tracks and be allowed to use them commercially.
- ChatGPT - Used the free version to generate graphics for the game.
The Joys and Annoyances of AI
My experience in general has been great, but here are some of my learnings and annoying parts:
- Hallucinations - Not very often, but from time to time AI would suggest solutions that do not exist. This was mostly around using functions that were not defined / existing in a certain crate/package.
- Debugging loops - From time to time when trying to fix issues it will go into a loop and iterate over solutions back and forth and I would need to come in and either point it to the solution or at least give it some direction on where to look for the issue.
- "I decided to make it better" - Often, if I dare to forget to mention something explicitly, I would either get changes I didn’t ask for, had stuff altered or even removed. Version control and committing stable versions with features you like is key to survival.
- Inconsistency - This mostly applies to graphics. I had a really hard time here using the free model (ChatGPT). It generated one button I liked and I wanted it to replicate it a couple times just changing the text or icon and it would work up until a certain point where it decides to change things. This especially was hard when I reached the limit of daily generations and would have to wait till the next day for another try. Next day I would essentially waste most of my prompts to try to get the same result (even when continuing in the same context/conversation). The end result felt inconsistent which ruins the feel of the game in my opinion.
Not sure what the future holds for me, but I will definitely continue tuning and fixing (if bugs come up) Shape-A-Gon but will likely embark on other new projects (they may be games, they may not be games!) but Shape-A-Gon will always be a project I at least Keep The Lights On (KTLO).
- April 13th 2026, v1.1: Adding save/load functionality.
- April 2nd 2026, v1.0: Initial game launch.