# Enemy AI needed for fighting games

**URL:** <https://forum.kirupa.com/t/enemy-ai-needed-for-fighting-games/240142>\
**Category:** programming\
**Created:** [September 29, 2007, 6:29pm UTC](https://forum.kirupa.com/t/enemy-ai-needed-for-fighting-games/240142 "2007-09-29T18:29:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arundracula](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Post date:** [September 29, 2007, 6:29pm UTC](https://forum.kirupa.com/t/enemy-ai-needed-for-fighting-games/240142/1 "2007-09-29T18:29:36Z")

</div>

I want to make a fighting game 2D like Mortal Kombat with kicks jumps punches and some special moves. I can handle the user part.  
But I didn’t know how to script the AI of enemy to kick, block or what to do. I have searched the net for this enemy ai but…zero.

The enemy must respond to player in some what and all the animations for player are the same for enemy.

Also I want to know how to implement the difficulty factor as the level progresses…

Thanks in advance…
