# Shell game

**URL:** <https://forum.kirupa.com/t/shell-game/204427>\
**Category:** Uncategorized\
**Created:** [October 19, 2006, 6:31pm UTC](https://forum.kirupa.com/t/shell-game/204427 "2006-10-19T18:31:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dru\_nasty](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dru\_nasty](https://forum.kirupa.com/u/dru_nasty)\
**Post date:** [October 19, 2006, 6:31pm UTC](https://forum.kirupa.com/t/shell-game/204427/1 "2006-10-19T18:31:42Z")

</div>

Howdy, first time poster in game/ai.  
I’m looking to figure out how the engine works for this shell game.  
[http://www.flashkit.com/movies/Games/The\_Shel-Earl\_Ver-10211/index.php](http://www.flashkit.com/movies/Games/The_Shel-Earl_Ver-10211/index.php)  
Just the part where the shells move around randomly (via calling frame labels).  
How does the game always know where the ball is? If it’s jumping around randomly how can it keep track? I just can’t get my head around all the as.  
Can anyone shed some light?
