Home > Windows Phone 7 > Program Development (WP7)

Program Development (WP7)

I apologize for my lack of any new posts in a few days.  A combination of busyness and sheer laziness were the culprits behind that.  Today I will shine a light on some of the things I am working on.  Below is a picture of the minesweeper game I am working on.  Written for Windows Phone 7 in silverlight it has been quite a challenge and a rather good learning experience.  I’m sure to any skilled silverlight developer my code looks like a pile of elephant dung, but what mattered most to me was getting it up and running.  After many hours of tinkering I am happy to announce that it works.  The one thing I am currently not happy about is the forms I use to create the massive button layout.  I believe I have the buttons in horizontal stack panels (the number of which depends on the difficulty of the game), and the stack panels themselves are in a listbox.  It works, but I am sure this method is complete and utter overkill.  If someone reading this knows of a better way to layout my buttons (programmatically) that would be very useful to me.  I have also created tic-tac-toe for windows phone 7.  It’s a nice and easy game to create and I think I have it looking very “metro” (the design styling of Windows Phone 7).  Gameplay on that also works but I am still trying to come up with the best algorithm for computer play.  If programmed to the best of my ability the computer would never lose, which would annoy me if I was playing against it.

Here is my minesweeper game:

And here is the tic-tac-toe game:

Finally here is a recording of my minesweeper game in action. Biggest obvious problem is the messagebox pops up in the wrong orientation but I’m working on that.

  1. June 29, 2010 at 11:06 am | #1

    Hi Matt

    I though I would drop by and say hi. Just saw your comment on my site , I have updated the post with info on the tic-tac-toe game. I am sure users will love to se these classic games on WP7.

    I hope tic-tac-toe game does Asynchronous multiplayer via xBox live on WP7 ( in the future )

    Saijo George

  2. June 30, 2010 at 10:32 am | #2

    I am certainly looking into adding asynchronous play for the tic-tac-toe game and will almost definitely include that ability with the game.

  1. June 29, 2010 at 10:59 am | #1
  2. June 30, 2010 at 12:22 am | #2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.