kozak wrote:
> Hi All,
> I am trying to build a board game, Mastermind
> http://en.wikipedia.org/wiki/Mastermind_(board_game).
> 
> Briefly put, the player has to guess a a set of colour codes set by
> the codmaker (2nd player).
> 
> To draw the board itself I need to draw about 48 (12 chances x 4 pegs
> each ) holders for the pegs and an additional 48 holders to indicate
> the status of each combination. Check out the picture in the wiki
> link.
> 
> My doubt is regarding the design of the game.
> 
> One way to draw the board is to have an image Button (built in class )
> for all the pegs and the status pins.
> 
> Another way is to take a canvas and draw all the objects for each
> move.
> 
> I would like to know which is the most efficient way of doing things.
> Please feel free to post your suggestions if any.

I can tell you that when Ed Burnette created a Sudoku game for his
_Hello, Android_ book, he went with 2D graphics and a Canvas. Whether
that was for efficiency or to make a better book example, I cannot say.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to