The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
You had to write a Windows Phone 7 game, so I did a little touch air-hockey game for 2 players.
How long did that take? I've never developed any games to speak of, but I would think that many days or even weeks would be needed to get all the logic and drawing in place. And for something as new as that phone, several days or weeks to learn the API. Maybe I'm just slow...
Anyway, good job.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
I'd guess around 6-8 hours total actual work. I probably spent the first 2 hours of that mucking around with XNA to get an idea of how things worked. It was only around 700 lines of code, so it's nothing very big. I just did an hour at home after work every few days. Overall, from start to end was about 3 weeks. I'm quite confident that I could have written this in a day if I had the spare time in one block.
The code is a bit of a mess, it's basically 1 big class, mainly because it's hard to plan how to separate things until you've got the hang of what is where in the framework. I also made it 2 player deliberately as it meant I could forget about any kind of AI to begin with - although I do plan on adding one now I've got the physics working smoothly.
Windows Phone 7 uses XNA for games. I've not done any XNA before, but the language is C#, so that was pretty familiar. XNA is just a framework that is geared towards games. It's also been around for a few years, so there are lots of online resources to help.
XNA makes setting up a game loop, loading resources and drawing all very easy. If you've not done games before and want to get into it XNA is a great starting point, and there are loads of tutorials around to get you going.
I called, they don't know what is happening, but I was at least able to give my US cell, so they can call me through the day. I bet that as I am gold, I'll be put on one of the other half empty flights later tonight. If not, I will spend a day in LA, but I'll be far from happy about it. I want to go home.
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.