hier gibt es eine bessere lösung:

http://www.rickard.gunee.com/project...ic/gamesys.php

www.luberth.com/analog.htm

Castle