Game Development Community

Finally, I can beat my game!

by Scott Coursey · 12/30/2006 (6:09 am) · 2 comments

A little bit ago, I wrote about how I could not beat the AI in my game. I've taken some advice and worked more on it. Now I can proudly say that I can beat the AI. It's not a hard thing to do - it just takes some muscle. I also have the units set to flee a fight if they're too badly damaged. And, if you've captured all the AIs Keeps, the units don't have anywhere to go. So, they just run for their lives. It's kind of funny to see them scamper away.

Also, I've updated my OmniGraffle script if anyone wants it. You can now directly insert echo'ed comments in the decision tree. It's not a major update, but it really helps in debugging things.

Oh, and another major change I've made is the ability to pan and zoom on the screen. Originally, my game was set at a fixed map size and camera view. Now, the maps can be as big as I want them, and you can zoom in really close for detailed views or pull back to see what's going on all over the map.

Yay! Onward!

#1
12/30/2006 (9:20 am)
Glad to see you can beat your own creation, just don't give this AI any movable robotic parts or anything.
#2
12/31/2006 (9:54 pm)
I had a similar problem when I wrote my own RISK game sometime back. I figured I'd be the only one who really had a chance of beating it since I wrote the AI but it started doing things I didn't expect and kicked my ass! Sloppy programming or spontaneous neutral net?