# A\* Algorithm

**URL:** <https://forum.kirupa.com/t/a-algorithm/311768>\
**Category:** programming\
**Created:** [July 15, 2010, 8:36pm UTC](https://forum.kirupa.com/t/a-algorithm/311768 "2010-07-15T20:36:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ubergoten](https://avatars.discourse-cdn.com/v4/letter/u/dec6dc/32.png) [@ubergoten](https://forum.kirupa.com/u/ubergoten)\
**Post date:** [July 15, 2010, 8:36pm UTC](https://forum.kirupa.com/t/a-algorithm/311768/1 "2010-07-15T20:36:45Z")

</div>

Hey everyone

I’m creating a game and want to put some AI in it for the enemies. I was going to use A\* Algorithm to do so and have created a 2d array of 0’s and 1’s for it, but cannot find any examples of the algorithm (none I can follow anyways).

Can someone please explain it in pseudo-code to me, or possibly show me an example of their implementation of the algorithm?

Thanks so much!
