Implement AJAX game commands