mike hodnick -> mhodnick <-> kindohm

Mike Hodnick is a geeky consultant guy living in Chaska, MN. He enjoys writing code, writing music, and doing fun stuff with his wife and daughter. This is his personal website, where you can get to his blog, music library, and other nonsense.

Latest From Twitter...

The Blog

Robot tanks trying to kill each other.  Well, at least that's what I'm aspiring toward :)

git clone git://github.com/kindohm/kindohm-artillery.git

http://github.com/kindohm/kindohm-artillery/tree/master

Right now it's super stripped down and simple.  No real UI or interactivity yet.  Just some stationary guns that don't move and some output messages to the console.  The guns fire projectiles at each other in a parabolic arc.  Since the projectile path and firing solution are both predictable, I introduced some randomness so that the first gun to shoot doesn't automatically "win".  Basically my work so far was just to get the trajectories down.  This article was most helpful: http://en.wikipedia.org/wiki/Trajectory.

Next on tap is to allow guns to adjust the angle they shoot at.  Right now they fire 45 degrees from the horizontal at all times.  In an open line of fire, I'd like the guns to be able to dial in a high-speed, low shot.  If there are obstacles in the way, they could dial in a slow, high-arc shot. 

Then there's uneven terrain, obstacles, and tank movement.  I can at least dream...

Technorati Tags:   
posted on Monday, May 12, 2008 4:04 PM |

Comments

No comments posted yet.
Post Comment
Title *
Name *
Email
Url
Comment *  
Please add 4 and 8 and type the answer here: