To practice with Ajax and attaching event handlers to regions in the web page, we implemented a bit of a tic-tac-toe game in Ajax; here you can find the web2py app.