added the ajax functionality.
next step Message: Undefined offset: 12747

Filename: game/randommodel.php

Line Number: 45