I was playing infantry (:D) and came up with an idea.
Infantry is a game where you are a guy in a 2D world (you are viewing the little guy from top view). You can turn (2-dimentionally), and go forward/backward (to the direction you are turning), or go left and right (also perpendicular to the direction you are turning). You can also shoot stuff
So I came up with the idea of creating an “automatic dodger” that can be compiled in Flash.
What it is is, you are one guy, and there is a computer guy on the screen. You can do whatever the heck you want (eg. move around or shoot at the computer). The computer guy (with the same capibilities as you, but no shooting) tries to dodge your bullets. I was thinking about this for quite a long time about the theoretical possibility of this.
The AI guy should calculate how your bullets travel (speed, direction, path etc) and move to a “safe” position where it cant be hit. Of course this can be done (even by humans). But with, let’s say 10 people, shooting at the AI bot, and say the computer is fast enough to calculate all possibilities of the bullets, would this AI guy be able to dodge all of them?
Maybe i’m just crazy or hilariosuly bored, but I find this very interesting. I can map the paths of bullets as equations on a x-y coordinate system, and the ai bot (as a circle with radius) also as a point on the system. Then it has to revolve about a certain point as bullets come, and dodge them.
Eh?