As we've been recently learning about recursion and game strategy (evolving from the random strategy to something more intuitive), I'm a bit amazed at just how relevant and simplistic it is. The thought of being able to solve almost any problem using computation and the fact that we can use it to being to solve something like Tic Tac Toe or more complex games with our relative limited knowledge is quite surprising.
I have been interested in Chess since I was in Grade 11, and Chess is a HUGELY complex a game, that is easy to learn, difficult to master. It amazes me that any player above 2000+ ELO rating can easily see what I see (1736 ELO) in just a few seconds while seeing over 5 moves ahead. A 2600+ player can play around 10 chess games blindfolded simultaneously and can memorize more than 100,000 different positions he/she has played.
The ingenuity of ranking a position based on a numeric value is great way of breaking a problem and I'm a bit surprised at just how applicable the very essence of computing is and that it can be used to solve a wide array of problems. The computer does not care about the position it's not, just the move that will lead it to the minimized loss or maximized win. It puts shame to the idea of creativity, creativity does not exist as if there is a "creative" way of doing something (a way that may seem quite novel), the computer will find it and elect it if it is the best MOVE possible, in essence, the computer is the most creative thing there is, as contradictory as it may sound. (A machine being creative?)
Of course the way we are doing it is an exponential problem, and practically impossible to solve many games that are of higher complexity (Go and Chess). In fact, Chess is widely regarded as being unsolvable:
http://en.wikipedia.org/wiki/Shannon_number
The number of possible move states our minimax algorithm would have to look for is more than the number of atoms in the observable universe, but the fact that we can begin to "tackle" the problem and emulate what other chess engines do (Stockfish) is quite astonishing. In an interesting end-off, in an algorithm that was coded using A* search and other mechanisms played Super Mario. Although playing Pacman very strangely and taking advantages of multiple glitches in the game code, it completed it, but when it came to Tetris it struggled to complete all the possibilities quick enough to play logically. When it was a single move from losing, the computer did something unexpected. It paused the game forever. The creator of the algorithm (Tom Seven), phrased it like this "As soon as he unpauses the game, he will lose, and really the only winning move is to not play at all", and it's true, the only winning move in any of those games, is to not play at all.
No comments:
Post a Comment