Hootris is a game very similar to Tetris I wrote in AS3 when I was first learning Flash.
PHP and MySQL was used to manage race conditions when saving high scores.