Opened 12 years ago

Closed 10 years ago

#9497 closed bug (fixed)

Improved Haiku look and feel for Minesweeper game

Reported by: jstressman Owned by: nobody
Priority: low Milestone: Unscheduled
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Tri-Edge AI has done a Minesweeper game as part of the Google Code-In 2012: http://www.google-melange.com/gci/task/view/google/gci2012/7959245

After downloading this, compiling it, and testing it out in Haiku, I felt like seeing if I could give it an improved Haiku look and feel, and also had a number of ideas on how it might be improved as a demo/game for Haiku.

Instead of using PNG image resources, I thought we could use HVIF icons along with the native Haiku API to draw the game board and graphics in the game. This should allow us to scale the game board to make it more easily seen for the visually impaired, reduce the size of the over-all package, and further serve as a good demo of using the Haiku API to its fullest.

I've done up 3 mockups so far of the "in game", "game won", and "game over" screens to give an idea.

Matt Madia did up a little flag for me that I'll need to tweak in Icon-O-Matic when I get a chance (both for the "flags left" counter, which has a slight drop shadow and now lower shadow, and for the game board flags).

The smile HVIF icons come from Zumi's emoticon pack: http://zumi.xoom.it/myhaiku/emoticon/index.html

# 3 for the "on-click" face # 7 for the game over "you lose" face # 12 for the game start and default face # 19 for the for the game finished "you win!" face

The game timer icon comes from Zumi's btoolbar icon pack: http://zumi.xoom.it/myhaiku/btoolbar/

the "document open recent" icon.

I'm not sure if the mine icon exists as HVIF, or if I will need to recreate that as one myself.

All the numbers are simply normal colored text using the Deja-vu Sans font included with Haiku.

On the recommendation of Pulkomandy I've tried to use colors from http://haiku-os.org/files/downloads/2007-03-20_haiku-color-palette.png

Feedback is welcome. I don't have the programming skills to implement this myself yet, but I'm more than happy to help with the design, icon work, etc.

Attachments (7)

minesweeper-playing-1.png (22.5 KB ) - added by jstressman 12 years ago.
look while you're playing
minesweeper-lost-3.png (46.9 KB ) - added by jstressman 12 years ago.
look when you've lost
minesweeper-won-1.png (38.8 KB ) - added by jstressman 12 years ago.
look when you've won
ms10p.png (15.7 KB ) - added by jstressman 12 years ago.
MineSweeper 10.hvif preview image
MineSweeper 10.hvif.zip (4.5 KB ) - added by jstressman 12 years ago.
the actual "MineSweeper 10.hvif" icon
ms11p.png (37.9 KB ) - added by jstressman 12 years ago.
10 and the lightened 11
ms10-11.zip (8.9 KB ) - added by jstressman 12 years ago.
the HVIF icons for 10 and 11 zipped

Download all attachments as: .zip

Change History (21)

by jstressman, 12 years ago

Attachment: minesweeper-playing-1.png added

look while you're playing

by jstressman, 12 years ago

Attachment: minesweeper-lost-3.png added

look when you've lost

by jstressman, 12 years ago

Attachment: minesweeper-won-1.png added

look when you've won

comment:1 by dsjonny, 12 years ago

Looks fine :)

comment:2 by mmadia, 12 years ago

For completeness, #9208 mentions another Minesweeper. which was contributed by DarkWyrm and is on Haikuware

comment:3 by jstressman, 12 years ago

I've created an HVIF icon for the game. I'll attach it here.

Due to the bug in #9508, I'm not sure it's exactly as it should be, but it seems like a good start.

Next I'll work on the flags.

by jstressman, 12 years ago

Attachment: ms10p.png added

MineSweeper 10.hvif preview image

by jstressman, 12 years ago

Attachment: MineSweeper 10.hvif.zip added

the actual "MineSweeper 10.hvif" icon

comment:4 by jstressman, 12 years ago

Lightened it up a bit. It could probably still use some work, but that's it for tonight.

by jstressman, 12 years ago

Attachment: ms11p.png added

10 and the lightened 11

by jstressman, 12 years ago

Attachment: ms10-11.zip added

the HVIF icons for 10 and 11 zipped

comment:5 by leavengood, 12 years ago

The spike below the one at 2 o'clock looks curved to me. It may just be due to the thickness of the stroke around it.

comment:6 by humdinger, 12 years ago

It also looks more like a mace. Maybe you can blunt the spikes, see here. That's much safer anyway... :)

comment:7 by dsjonny, 12 years ago

I like the MineSweeper10.hvif

comment:8 by scottmc, 11 years ago

What's left to do on this one? Perhaps the remaining part(s) can be turned into GCI2013 tasks...

comment:9 by rq, 10 years ago

Could this be shipped with Haiku by default?

comment:10 by pulkomandy, 10 years ago

Hi, I added DarkWyrm's BeMines to HaikuDepot last week. I think having one minesweeper in the depot is enough, and I'm not sure it is worth spending more time on this one. If someone provides an haikuports recipe I guess we can still add the package.

in reply to:  10 comment:11 by rq, 10 years ago

Replying to pulkomandy:

Hi, I added DarkWyrm's BeMines to HaikuDepot last week. I think having one minesweeper in the depot is enough, and I'm not sure it is worth spending more time on this one. If someone provides an haikuports recipe I guess we can still add the package.

At least from the screenshots, it looks like this Minesweeper is much nicer (and looks much more in-place) than DarkWyrm's one.

comment:12 by pulkomandy, 10 years ago

Milestone: R1Unscheduled
Priority: normallow

comment:14 by pulkomandy, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.