playing a random game, more bug fixes