Made this minesweeper clone for my first cart as a familiarization exercise of sorts.
- 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.
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.
No promises, though.
- High score table w/ separate leaderboards depending on whether mouse was used
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.
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.
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.
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. :)
[Please log in to post a comment]