Log In  

Cart #picominesweeper-0 | 2019-12-30 | Code ▽ | Embed ▽ | No License
10

Made this minesweeper clone for my first cart as a familiarization exercise of sorts.

Menu Options

  • Tagging with '?' is on by default but can be turned off if desired
  • Mouse control is available; behavior should be an accurate facsimile of the original.
    • Once enabled, buttons and mouse controls can be used interchangeably -- but not concurrently, to avoid ambiguity over what should happen if button presses and mouse clicks occur at the same time

Will remember your settings (using cartdata) if played in the console.

Controls

Cursor movement: arrow buttons.

Cursor can be moved while O/X buttons are depressed (as long as your hardware supports those keypresses concurrently).

Note: cursor is automatically hidden once mouse has been used, but pressing any of the controller buttons will show it again if you want to go back to using the buttons instead of mouse controls.

Flag mine / mark '?':
Toggle between covered tile, flag and question mark (if enabled) using

  • X button press
  • mouse right click

Reveal single tile: uncover a tile by

  • press and release O button
  • click and release left mouse button

The targeted tile will be show as depressed when the button is pressed, and will be uncovered upon button release. You can retarget by moving the cursor/mouse while holding the button down, or cancel by retargeting onto an already revealed tile.

Reveal neighboring tiles ("chording"):
If a revealed number tile is surrounded by the correct number of flags (which may be in the wrong positions) and no question marks, you can reveal all remaining covered neighbors by

  • press and release O button while holding down X button
  • click and release middle mouse button
  • click and release left mouse button while holding down right mouse button

As before, the tiles targeted will be shown as depressed and will be revealed when the button is released if the conditions are satisfied. If the number of flags does not match, or there are question marks, then none of the neighboring tiles will be revealed.

Further Development?

No promises, though.

  • High score table w/ separate leaderboards depending on whether mouse was used
P#71531 2019-12-30 17:44

It's a good game and you have left a marvelous introduction and instructions it's just that ... it's been done so many times before and in so many different ways.

https://www.lexaloffle.com/bbs/?tid=34491

https://www.lexaloffle.com/bbs/?tid=34338

https://www.lexaloffle.com/bbs/?tid=3306

https://www.lexaloffle.com/bbs/?tid=33534

https://www.lexaloffle.com/bbs/?tid=31503

What really turns my head and gets my attention are NEW original idea games. Those will always be highly appreciated.

Nonetheless this cart is quite polished and professional, gold star for you.

P#71539 2019-12-30 17:56 ( Edited 2019-12-30 17:56)

Like I said right at the top of the OP, as a first cart this was just an exercise to get familiarized with the platform and certainly not intended to be anything new and earth shattering.

P#71541 2019-12-30 18:05

Well for a first cart it is epic, certainly better than I could do. Gosh what was the first thing I wrote in Pico-8 ? I think it was random dots on the screen. :)

So, yes, this is a monumental cart for your first entry into the world of Pico-8. Here's hoping you stay and enjoy.

You are also very welcome to join me and my crew in Applecart, where we look at old video games from circa 1970 and try to recreate them with Pico-8 once a week.

https://www.lexaloffle.com/bbs/?tid=36400

These challenges are definitely for new programmers such as yourself as they focus more on the math and feel of the games and less on fancy or difficult to code special effects or "correct" ways to program. Just have fun writing it any way you can.

Yet with the cart you wrote above you may actually find that you're overqualified. But I would still like to see you there and see your spin on these games. :)

P#71543 2019-12-30 18:19 ( Edited 2019-12-30 18:39)

nice implementation!

P#71546 2019-12-30 18:29

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-20 12:46:34 | 0.011s | Q:22