Optimized random-char game.