implemented ability to play games in single page with AJAX updates