now doing it all with ajax and only starting with the ruby gem to kick off the game