Improved Haiku look and feel for Minesweeper game
|Reported by:||jstressman||Owned by:||nobody|
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.