Minigame: Minesweeper but you walk on the board
Years ago I had a notebook with many game ideas written in it, but I lost it. Somehow couple of days ago I remembered one of them though.
What if you had a Minesweeper board, and you were a character on it, walking and marking the mines.
I made a playable prototype and you can play it here.
Playable minigame
This is a classic Minesweeper's variant - instead of clicking on the board to reveal tiles, you walk as a character on the board to reveal the tiles.
The objective
The goal is also different - you need to traverse from the bottom to the top of the board, instead of revealing the whole board. Go safely through the minefield.
Controls
I added on-screen buttons for controlling the player on mobile, while on PC you can also use the keyboard:
- Arrow keys: movement. You can move only in four directions.
- Q, W, E, A, D, Z, X, C: placing and removing flags. You can place flags in 8 directions
- Space: Reveal surrounding tiles without flags.
Progression
hen you win, the size od the board grows, when you lose it shrinks. Try to increase the board as much as you can!
Try it in the iframe below
Original idea
In my original idea, you would control a character and on each mine you activate, you lose one limb.
Or have a band of characters walking in a snake like formation, losing the first one when they step on a mine.
Code
Get the code
I say I made it but I was only "proompting" or "Vibe Coding". The coding was mostly done by Gemini 2.5 Flash.
There is a public github repo on my profile with the code if you want it: https://github.com/Tymski/MinesweeperAdventure
Remembering my old implementation
When I was a teenager I coded minesweeper from scratch in C++. I think the code I made back then was quite similar in structure to this one. Not a lot of functions or classes, but a lot of loops and nesting. Maybe I'll make a code comparison if I find my old code. I didn't know about git back then and I was using multiple folders as version control. It may be lost to time.
Impressive AI progress
In a couple of years the LLMs went from finishing one line of code badly, to being able to program a half decent project in 30 minutes.
This project would've taken me half a year when I was a teen, but with an LLM I was able to make a working prototype in half an hour, and then I spent around 6 hours to polish it.
I also didn't need to write CSS, which is a huge win.
I have many more ideas that I want to add to the game, but I'll add them when AGI drops and does it for me.