This is an old revision of the document!
Tetris Game
This is a demonstration of how the overhead introduced by AspectScript in an interactive application is negligible. Please try the game and let us know if you feel any noticeable difference!.
At the left it is the original tetris game, unmodified. At the right it is the instrumented version, with one global aspect deployed this way:
var pointcut = function(){ return true; }; var advice = function(jp) { return jp.proceed();}; AspectScript.around(pointcut, advice);
At the bottom of the page can be observed the number of join points the aspect has currently seen (and matched).
0 join points matched so far! [reset]