# Random movement for ghosts in Pacman

**URL:** <https://forum.kirupa.com/t/random-movement-for-ghosts-in-pacman/249639>\
**Category:** programming\
**Created:** [January 21, 2008, 7:04am UTC](https://forum.kirupa.com/t/random-movement-for-ghosts-in-pacman/249639 "2008-01-21T07:04:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spidy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/spidy/32/21563_2.png) [@spidy](https://forum.kirupa.com/u/spidy)\
**Post date:** [January 21, 2008, 7:04am UTC](https://forum.kirupa.com/t/random-movement-for-ghosts-in-pacman/249639/1 "2008-01-21T07:04:52Z")

</div>

Hi,

Can anyone explain me how to create random movement for ghosts in pacman?  
[http://oos.moxiecode.com/tut\_07/index.html](http://oos.moxiecode.com/tut_07/index.html)

I found the tutorial here to be incomplete.

A game similar to  
[http://www.mediakitchen.co.uk/chomper1.html](http://www.mediakitchen.co.uk/chomper1.html)

Plzzzzzzzzz reply.  
Thanks
