« Glow+blur+fullscreen | Main | Tournament 1/29 »

January 27, 2012

Comments

TM

I was really looking forward to you posting about TDD in game development when I read that announcement too. I use it every day in my web development job but it has always stymied me as far as applying it to games when I am messing around with those in my free time.

Karim Ahmed

The most important feature in TDD to me is the optimal protection of future changes that may break other system functionality.IMHO Systems with a lot of undefined and unrelated functionality and components with huge class hierarchies, would benefit the most from TDD because TDD will force you to organize your system in a modular testable and heavy change tolerant way. But in games the life cycle is shorter, changes are less because you have defined set of goals to achieve and if not and you are still just exploring,the changes are visible to you, TDD would be a huge overkill for things like AI and Physics because there behavior is not controlled by you and TDD requires that. Yes you can TDD the code that builds up these components but IMHO it still an overkill.
I have used TDD to write algorithms that have many changing inputs and outputs. Again it protected me from shooting myself in the leg and it worked well.

PS. I never used TDD in games or even close to ship one :))

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name is required. Email address will not be displayed with the comment.)

Jamie's Bragging Rights

  • Spider-Man 2
    The best superhero games of all time Game Informer
    Top five games of all time Yahtzee Croshaw
    Top five superhero games of all time MSNBC
    Top 100 PS2 games of all time Official Playstation 2 Magazine
    1001 Games You Must Play Before You Die Nomination for Excellence in Gameplay Engineering Academy of Interactive Arts & Sciences
  • Schizoid
    Penny Arcade PAX 10 Award
    Nominated for XBLA Best Original Game
    Nominated for XBLA Best Co-Op Game