Hi all, I'd like to hear the types of AI that people have seen in platform games over the years. When you list one, try to mention the game where you have seen this AI. I think a list like this can be helpful to those designing simple AI for their Flash platform games. Here's some that I've seen:

*Super Mario Bros. (contact w/ enemy causes death)
-moves in one direction until falls off platform or touches a wall.
if touches a wall, change direction
-jumps in one direction until falls off platform or touches a wall.
if touches a wall, change direction
-moves in one direction until touch an edge or a wall.
if touches edge / wall, change direction

*Metal Slug (contact w/ enemy fire or melee causes death)
-holds position until player approaches, then:
-walks in one direction until next to player.
melee attack player when next to him.
-walks in one direction, throwing grenades at player.
melee attack player when next to him.
-holds position and fires in all directions at player
-jumps and fires a homing missile at player, then dives back into water

*Castlevania series (contact w/ enemy or enemy fire causes damage)
-flies in a wavy oscillating pattern from one side of screen to other.
respawns centered to player's _y coord and repeats.
-walks in one direction, jumping over any gaps until within firing range
of player. begins throwing falling projectiles upward toward player.
maintains _x distance from player while throwing falling projectiles.
-walks slowly in one direction toward player

...more to come...