[ home ] [ math / cs / ai / phy / as / chem / bio / geo ] [ civ / aero / mech / ee / hdl / os / dev / web / app / sys / net / sec ] [ med / fin / psy / soc / his / lit / lin / phi / arch ] [ off / vg / jp / 2hu / tc / ts / adv / hr / meta / tex ] [ chat ] [ wiki ]

Viewing source code

The following is the source code for post >>>/math/707

Depends if the result is determined as a binary (or trinary) win/loss (+draw?) or if you're playing so that every point difference is $1 or something. Way easier to calculate if it's by point difference because then there's just a single, objective EV calculation and you don't even take the opponent's strategy into account, it can't change the EV of your own move.

If playing for a win and ignoring whether it's by 1 or 100 points, you get into obscene amounts of game theory, future game simulation and even psychological exploitation of mistakes (pointless to play if you're both optimal computers, so the mistakes will be there), and the game tree fucking explodes in complexity