The history of the (moves of) a game is irrelevant in adjudicating any given position.
Chess is clearly a two-person zero sum game, so it has an optimum strategy--I think Von Neumann proved this with an analogy to spherical geometry.
Nobody knows if it is optimally a win for white or for black, or a draw, and I don't think players' consensus matters on this point. For example, when the tables for a crertain set of endgames was actually computed some years ago, there were found endings previously universally considered draws that, in fact, were wins--though the winning sequence was tactically incomprehensible to any human.
There is generally a trade-off between computing time and storage capacity in computation. For example, the tablebase of chess is a hypothetical database (impractical on account of its astronomical size) which allows instant determination of the evaluation of all possible moves in a position.
At the other extreme it is possible (easy, in fact) to write a tiny program that uses a small amount of memory which could evaluate all the possible moves in any position, with the only problem being that the calculation for a position usually takes longer than the age of the Universe.