Show HN: MathMax.io – Select the greater value
1–4 of 4 posts
Re: Show HN: MathMax.io – Select the greater value
#2I found myself developing various rules in my head with negatives versus division, etc. to solve these quicker without having to do most of the math. Interesting game, thanks for sharing!
Re: Show HN: MathMax.io – Select the greater value
#3I found myself developing various rules in my head with negatives versus division, etc. to solve these quicker without having to do most of the math. Interesting game, thanks for sharing!
I did exactly the same, and got fairly high accuracy. Funny how we can use heuristics with a relatively high success rate more quickly than doing the math.
Re: Show HN: MathMax.io – Select the greater value
#4Console program to auto solve:
String.prototype.replaceAll = function(search, replacement)
{
var target = this;
return target.replace(new RegExp(search, 'g'), replacement);
};
function sleep (time) {
return new Promise((resolve) => setTimeout(resolve,
time));
}
for (var i=0;i {
if
(eval(document.getElementById("opt1").innerText.replaceAll("×", "*").replaceAll("÷", "/").replaceAll("−", "-")) > eval(document.getElementById("opt2").innerText.replaceAll("×", "*").replaceAll("÷", "/").replaceAll("−", "-")))
{
document.getElementById("opt1").click()
} else {
document.getElementById("opt2").click()
}
})}