Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I remember I was working on a game where you fly a ship and shoot alien ships. I didnt have a lot of experience at the time so I just made the ships move in one direction and eventually take a random turn, but if you got within a distance they moved away from you, but if you got too close they would kamikaze toward you. but I needed to figure out when to shoot, so I just decided that they would randomly shoot when you shoot.

However, what happened is that since the distance of your bullets is small, you would fly up towards them and they would 'trick' you by at first flying away then suddenly b-lining at you. and when you fired sometimes they would fire at the same time and get you.

The comments I got from people who played the game 'wow the AI is really good'. Not sure if this is a direct example of the Forer effect



By the way, the word is "beeline", not "b-line". It originally was a reference to bees traveling back to their hive. Sorry to be pedantic.


did you say 'Sorry to bee pedantic'?

hyuk hyuk hyuk


Good old-fashioned script. That's how RTS tend to run since general AI tend to get lost in the sea of options available.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: