Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2005-11-19 17:45:38

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Minesweeper MathsIsFun Style

I have been working on a game for the last few months (as time permitted) ... I have most of the elements right, but my design is still amateurish.

But I keep thinking that you guys might enjoy playing it, even if it is not quite right.

So here it is (beta version): Minesweeper

Not your average Minesweeper game!

BTW I still have some "internals" to work on, for example you don't always get the bomb density you ask for, but for me it is the externals - the look, colours, layout, etc. that aren't good enough. The name could even be better (but should have minesweeper in it, so people know kinda what it is like)

All advice/help appreciated.

But most of all ... enjoy!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#2 2005-11-19 20:15:49

ryos
Member
Registered: 2005-08-04
Posts: 394

Re: Minesweeper MathsIsFun Style

Interesting. My first impression was, "What?" Then, "Oh. Cool!" Then, "There's a lot more times that you must just guess." Then, "I wonder if there are some mad techniques for guessing?"

For example, in regular minesweeper, I would take guesses based on a rough estimate of the probability of a mine (or blank) occupying a certain space. I based it on the number of bombs I knew were in a given area, the total number of bombs left, and total number of squares left. It worked quite well.

I haven't found any similar technique here. smile However, I do feel a lot less like a computer could do a better job at it than I could.

Bugs I've seen so far:
I found that I could drag a flag onto an already-flagged square to run down the number of available flags. I didn't test what happens when it hits zero; I'm guessing you get stuck in sweeper limbo.

Also, it's possible to click and explode mines that have been exposed by a shovel.

It also ran very slow, but that could just be because I'm running 2^39062500 in the background. wink

Mechanical suggestions:
Why limit the number of flags at all?
A "bombs remaining" counter would be nice.
Dragging flags is incredibly tedious. Couldn't you do a platform-neutral modifier-click, like shift, to flag mines?

Visual suggestions:
The horizontal lines are easy to follow, but the diagonals got a little hard on the eyes. Once you get a mishmash of flags out there, there's quite a lot of visual ambiguity in the diagonals--what I mean to say is, the eye has a hard time following the line, and you have to check closely and convince yourself that you're still on the same diagonal you started with. Alternating shading would be awesome.

It would be very useful to grey out or otherwise identify lines that have been "satisfied" so you can block them out of visual scans.

That's it for now.


El que pega primero pega dos veces.

Offline

#3 2005-11-19 20:20:38

Jai Ganesh
Administrator
Registered: 2005-06-28
Posts: 45,966

Re: Minesweeper MathsIsFun Style

MathsIsFun minesweeper is better!


It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

Offline

#4 2005-11-19 22:46:00

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: Minesweeper MathsIsFun Style

The main difference between this and regular minesweeper is that with this, you get all the information at the start and have to use it to deduce where the mines are. In normal minesweeper, you get nothing at the start except a free go, and you uncover information as you uncover safe ground. In minesweeper, you can almost always complete the board with pure logic, but this one needs quite a bit of guesswork. One thing I'm confused about is the number of spades you're given. I can start two games with exactly the same settings, but in one I get 1 spade and in the other I get 2.

In other news, I once completed beginner minesweeper in 7 seconds.
Edit: In other other news, I have just now completed beginner minesweeper in 1 second. Seriously. This deserves a smiley.

cool


Why did the vector cross the road?
It wanted to be normal.

Offline

#5 2005-11-19 23:12:50

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

(... by getting blown up?)

Very enlightening feedback so far, thank you guys. Keep it coming, please ...


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#6 2005-11-20 00:01:13

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: Minesweeper MathsIsFun Style

I've found 2 glitches now.

1) If you play on a small board with a high density, it's possible that all the squares have mines on them and so the game would be impossible. Similarly, if you play on a small board with a low density, you sometimes get a mine-free zone.

2) If you complete a game, then quickly start a new one before the 'Well Done' animation finishes, you get shown where all the mines are on the new game board.

Last edited by mathsyperson (2005-11-20 00:03:21)


Why did the vector cross the road?
It wanted to be normal.

Offline

#7 2005-12-04 03:46:57

Roraborealis
Member
Registered: 2005-03-17
Posts: 1,594

Re: Minesweeper MathsIsFun Style

I like that game, it's well designed, and it's addictive when you first get into it. I didn't encounter any bugs when I played it, which I did twice. It hasn't ran slow either. Have you fixed it, or is it my computer just having a good day?

Last edited by Roraborealis (2005-12-04 03:47:24)


School is practice for the future. Practice makes perfect. But - nobody's perfect, so why practice?

Offline

#8 2005-12-04 08:56:57

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

I found it a bit addictive, too!

No, I haven't worked on it for a few weeks. Waiting for a quiet few hours.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#9 2005-12-04 16:51:11

Jai Ganesh
Administrator
Registered: 2005-06-28
Posts: 45,966

Re: Minesweeper MathsIsFun Style

What next? MathsIsFun Goldhunt? MathsIsFun Pinball? MathsIsFun Hearts?


It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

Offline

#10 2005-12-04 18:51:56

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

LOL !

Give me a coupla years!

Any good ideas for mathy games welcome, though. It is a bit of a break to play with game development.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#11 2005-12-04 19:37:35

ryos
Member
Registered: 2005-08-04
Posts: 394

Re: Minesweeper MathsIsFun Style

A mathematical paradox.

In an 8x8 game, there are 64 total squares, right? And you start with 99 flags? and 99-64 = 35?

So what's wrong with this picture? (note, I was careful to see that every flag I dropped marked a square--I know that there are a few ways to drop the flag counter without marking more squares, but I avoided them).

Last edited by ryos (2005-12-04 19:39:02)


El que pega primero pega dos veces.

Offline

#12 2005-12-04 21:10:19

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

You photoshopped the image just to confuse me, right?

Or it isn't counting them properly.

One or the other.

BTW the thing about flags is ... I don't give a win when you mark flags on all bombs ...

... because you could cheat by placing/unplacing flags until you win (for example: you may have a few squares left and don't want to risk being blown up, so you try flagging/unflagging until you win ... well I won't give a win that way ... you actually have to show the safe squares and risk being blown up.)

Is this right? Discuss ...


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#13 2005-12-05 04:07:17

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: Minesweeper MathsIsFun Style

The 8x8 grid doesn't have 64 squares. There's a 7x7 grid hidden inside the 8x8 one, so there are actually 113 squares.
Just look at the 2x2 grid to see clearly that ryos's reasoning is flawed. There are 5 squares in that one.


Why did the vector cross the road?
It wanted to be normal.

Offline

#14 2005-12-05 09:35:33

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

You know what? I figured that out later also ... but when ryos posed his puzzle I just assumed I had made another programming error! (Ryos is tricky!)

But any ideas about flags winning or not would be good.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#15 2005-12-05 12:24:43

ryos
Member
Registered: 2005-08-04
Posts: 394

Re: Minesweeper MathsIsFun Style

Yes I'm, er, tricky. That's it!


El que pega primero pega dos veces.

Offline

#16 2005-12-07 18:41:36

ryos
Member
Registered: 2005-08-04
Posts: 394

Re: Minesweeper MathsIsFun Style

More bugs!

1) I once had a shovel disappear to no avail (I think I may have dropped it between squares), but I haven't gotten this one to repeat.

2) You can flag a square that has been marked clear. Doing so doesn't seem to have any effect on winning (you still win, even if all your clears are marked).

3) I ran out of flags, and it wouldn't let me win. The board below is completely solved (I think), but I hadn't the flags to mark them all.


El que pega primero pega dos veces.

Offline

#17 2005-12-07 21:15:19

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

OK, looks like I need to get stuck into revisions ... anyone care to add to the list?

1. Easier way to place flags
2. Can win if flags placed correctly (? takes risk out of game ?)
3. Bombs remaining (? does that make it too easy ?)
4. "Well done" has to finish before new game option
5. Density to more closely match what's asked for on small boards
6. Infinite Flags option
7. Better colours/layout (I don't know what to do here)
8. Sound?


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#18 2005-12-08 12:56:31

ryos
Member
Registered: 2005-08-04
Posts: 394

Re: Minesweeper MathsIsFun Style

2) I say, can win if all clear spaces are correctly marked.
3) I don't think it makes it too easy, since that info is readily available to the player that is willing to sum them up. Who wants to do that?
4) Or stops when "new game is clicked"; animations get old when we are forced to wait for them.
7) I'll draw up a suggestion later tonight.


El que pega primero pega dos veces.

Offline

#19 2006-04-18 17:46:55

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

I have just made a new version of Minesweeper "Risk". Report any bugs here smile


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#20 2006-04-20 05:50:03

stardust
Member
Registered: 2006-04-09
Posts: 48

Re: Minesweeper MathsIsFun Style

This is more about it visually. I don't know if it is just on my computer, but the flags appear very pale and it can be difficult to see them after marking a square.
Apart from that, it is a good game and very addictive.:)

Offline

#21 2006-04-20 09:39:07

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: Minesweeper MathsIsFun Style

Yes, I get that as well. The flags are visible, but very faint.

The glitches that I mentioned before are still there as well.

Incidentally, I found this on the internet a while ago. It's the same idea as minesweeper, but 3D!
Edit: I just realised the instructions on that page are in Japanese. Basically, you click on a side of the shape to label it as either a safe face or a mine and you press spacebar to toggle between labelling safe faces and labelling mines. If you label something incorrectly, you lose.


Why did the vector cross the road?
It wanted to be normal.

Offline

#22 2006-04-20 11:19:52

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: Minesweeper MathsIsFun Style

mathsyperson wrote:

The glitches that I mentioned before are still there as well.

Bomb choice is random, so strange things can happen, but I did add some code to artificially choose bombs to get the density closer to that requested. It has improved the situation, but not completely.

And I am still looking at stopping the "Success" thingy part way through - I know how do it in theory, but in practice it isn't playing fair!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#23 2006-04-20 21:05:38

justlookingforthemoment
Moderator
Registered: 2005-05-26
Posts: 2,161

Re: Minesweeper MathsIsFun Style

mathsyperson wrote:

Incidentally, I found this on the internet a while ago. It's the same idea as minesweeper, but 3D!
Edit: I just realised the instructions on that page are in Japanese.

Mission completion!! big_smile

I like it.

Offline

#24 2006-04-24 04:34:06

ryos
Member
Registered: 2005-08-04
Posts: 394

Re: Minesweeper MathsIsFun Style

Wow! Much improved! (sorry I never did do that mockup I promised...)

I'll have more useful comments in a bit. wink


El que pega primero pega dos veces.

Offline

Board footer

Powered by FluxBB