{"id":1485,"date":"2016-04-01T19:27:34","date_gmt":"2016-04-01T11:27:34","guid":{"rendered":"http:\/\/www.clonefactor.com\/wordpress\/?p=1485"},"modified":"2020-06-15T14:07:49","modified_gmt":"2020-06-15T06:07:49","slug":"guess-the-correlation-crack","status":"publish","type":"post","link":"https:\/\/www.clonefactor.com\/wordpress\/webdevelop\/javascript-webdevelop\/1485\/","title":{"rendered":"Guess the correlation [crack]"},"content":{"rendered":"<p>It a good game~<\/p>\n<p><a href=\"http:\/\/guessthecorrelation.com\/\">http:\/\/guessthecorrelation.com\/<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1486\" src=\"http:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/guessthecorrelation_result.png\" alt=\"guessthecorrelation_result\" width=\"832\" height=\"876\" srcset=\"https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/guessthecorrelation_result.png 832w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/guessthecorrelation_result-285x300.png 285w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/guessthecorrelation_result-768x809.png 768w\" sizes=\"auto, (max-width: 832px) 100vw, 832px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2273\" src=\"https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/Guess-the-correlation_result.jpg\" alt=\"\" width=\"1920\" height=\"1008\" srcset=\"https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/Guess-the-correlation_result.jpg 1920w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/Guess-the-correlation_result-300x158.jpg 300w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/Guess-the-correlation_result-1024x538.jpg 1024w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/Guess-the-correlation_result-768x403.jpg 768w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/Guess-the-correlation_result-1536x806.jpg 1536w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/04\/Guess-the-correlation_result-359x188.jpg 359w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>this is how I play the game.<\/p>\n<ol>\n<li>Open the game -&gt; New game<\/li>\n<li>F12 open console for Chorme<\/li>\n<li>copy the following script,<\/li>\n<li>replace the m_ScoreToAchieve to the number you wanted.<\/li>\n<li>paste the code into Chrome&#8217;s console<\/li>\n<li>Hit enter and wait.<\/li>\n<\/ol>\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/\/ Game: http:\/\/guessthecorrelation.com\/\n\/\/https:\/\/www.mathsisfun.com\/data\/correlation.html\n\/\/http:\/\/www.dummies.com\/how-to\/content\/how-to-calculate-a-correlation.html\nvar m_ScoreToAchieve = 3000;\n\nfunction correlation()\n{\n\tvar points = $(\".nv-point\");\n\tvar tx = 0, ty = 0, cnt = 0;\n\tpoints.each(function(k,v){\n\t\tvar coord = $(this).attr(\"transform\").replace(\"translate(\",\"\").replace(\")\",\"\").split(\",\");\n\t\ttx+=parseFloat(coord[0]);\n\t\tty+=parseFloat(coord[1]);\n\t\tcnt++;\n\t});\n\tvar meanX = tx\/cnt, meanY = ty\/cnt;\n\tvar saxb = 0, sa = 0 , sb = 0;\n\tpoints.each(function(k,v){\n\t\tvar coord = $(this).attr(\"transform\").replace(\"translate(\",\"\").replace(\")\",\"\").split(\",\");\n\t\tvar\n\t\t\tx = parseFloat(coord[0]),\n\t\t\ty = parseFloat(coord[1]),\n\t\t\ta = x - meanX,\n\t\t\tb = y- meanY,\n\t\t\taxb = a * b;\n\t\tsaxb += axb;\n\t\tsa += a * a;\n\t\tsb += b * b;\n\t});\n\treturn Math.abs(saxb \/ Math.sqrt(sa * sb));\n}\n\nfunction Init()\n{\n\tvar hack = function()\n\t{\n\t\tsetTimeout(function(){ $(\"#guess-input\").val(correlation())}, 200);\n\t\tsetTimeout(function(){ $(\"#submit-btn\").click(); }, 210);\n\t\tsetTimeout(function(){\n\t\t\tif($(\".heart-full\").length > 1 &amp;&amp; parseInt($(\".ncoins\").text()) &lt; m_ScoreToAchieve )\n\t\t\t\t$(\"#next-btn\").click();\n\t\t\telse\n\t\t\t\t$(\"#next-btn\").unbind(\"click\", hack);\n\t\t}, 220);\n\t};\n\t$(\"#next-btn\").unbind(\"click\", hack).bind(\"click\", hack);\n\thack();\n}\nInit();<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>It a good game~ http:\/\/guessthecorrelation.com\/ th &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[87,30],"class_list":["post-1485","post","type-post","status-publish","format-standard","hentry","category-javascript-webdevelop","tag-crack","tag-jquery"],"_links":{"self":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/posts\/1485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1485"}],"version-history":[{"count":1,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/posts\/1485\/revisions"}],"predecessor-version":[{"id":2274,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/posts\/1485\/revisions\/2274"}],"wp:attachment":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}