Should I be worried if I solve a lot of my problems the same way?

Posted by Bryan Harrington on Programmers See other posts from Programmers or by Bryan Harrington
Published on 2010-12-07T10:00:28Z Indexed on 2012/03/19 2:15 UTC
Read the original article Hit count: 296

Filed under:

I really enjoy programming games and puzzle creators/games. I find myself engineering a lot of these problems the same way and ultimately using similar technique to program them that I'm really comfortable with.

To give you brief insight, I like to create graphs where nodes are represented with objects. These object hold data such as coordinates, positions and of course references to other neighboring objects. I'll place them all in a data structure and make decisions on this information in a "game loop".

While this is a brief example, its not exact in all situations. It's just one way I feel really comfortable with. Is this bad?

© Programmers or respective owner

Related posts about problem-solving