Thursday, July 23, 2009

PHP Project - Stupid game

A few days ago, I decided to start a simple little game with PHP as my chosen language. Why PHP? I see a lot of job prospects asking for PHP skills, so I figure a little sharpening (ok, a LOT of sharpening) couldn't hurt.

The general structure is coming along ok, but I've hit a big snag - the combat system. This is the part of all code projects that I eventually reach where the complexity gets a little overwhelming. I'm going to try really hard not to give up out of frustration - hopefully by focusing on the simpler parts, until I figure out the hard parts.

Now, I have to say, the first "hard parts" was on day 2 when I moved all data from internal arrays to a mysql db. Simple? Sure, but I was never great with mysql stuff from scratch (now THAT was a good exercise!). It was daunting and I kept tryinig to avoid it, but I finally did it and now it's easy. I just have to get to the same point here. It's not any specific syntax, it's just the logic.

No comments:

Post a Comment