Log In  


> A Minesweeper clone — mine!

Cart #minetime-4 | 2025-02-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

I picked the game to learn how PICO-8 handles mouse input and built-in menus, but in the end decided to turn the project in a close-to-respectable cart, perhaps even worth sharing :)


Minesweeper for people in a hurry. Can you clear mines in less than 99 seconds? Perhaps even less than 60?

Controls

> when feeling lost, there's always a smile

Keyboard

  • "x" key to move between screens and to reveal cells

  • "o" to toggle a few options on the unrevealed cells

  • arrow keys to move the pointer unless a curious mouse enters the scene

Mouse

  • left button to move between screens and to reveal cells

  • right button to toggle a few options on the unrevealed cells

  • your pointer to throw the cute arrow around

Menus

> it's always good to have options

Opening up the menu you can change the number of mines with the voice "Mine number". With the right conditions you might even find a way to review your records.

The rest is left up to your exploration. You might even find a small easter egg :)


Updates

  • 28/02/2025 — updated controls
6


1

Very good!
but uh you actually cant quite move the cursor with the arrow keys; it seems that its position is being always reset to where the actual mouse cursor is
and also if you use poke(0x5f2d,3) instead it enables mouse and keyboard but also leftclick and rightclick are emulated to btn()/btnp() as X and O buttons


Thank you for the prompt reply @ 851523. I researched the poke function with your suggestion and re-worked the controls so that it is possible to use the keyboard together with the mouse. I tried to keep the arrow keys to move the arrow if there's no mouse around ;)


gg


gg indeed @a guy, and thanks for checking out the cart 😎


Cute, but still room for improvement :

It's great to give mouse/keyboard-pad controls, but on mobile with smallish screen, the automatic "mouse" if available makes the game unplayable. A switch controls option in the pause menu would be welcome/

Speaking of pause menu, you could hide the screen during pause.

Chording is great but can be cheesed : currently, it only activates if all the bombs around the tile are well placed, instead of just counting the flags and letting you lose if you made a mistake.

high score menu/level select pause menu are only available when you beat a high score. Coupled with no cartdata delete option, I'm currently locked out of the level selection.

Progressive reveal whenhitting a zero ?

Timer goes down instead of up but high scores are in spent time.

game over screen lacks wrong flag and bomb markings.


1

Thank you for the feedback @RealShadowCaster. I moved on to a different project, but if I find the time to revisit the cart I'll try to update the game. I like the idea of the switch between controls.



[Please log in to post a comment]