So how computer's think? 
How computer works in playing chess?
Ignore the previous comment. Troll.
They just calculate much like humans do. But at a much faster rate.
Thanks, But how can magnus calculate faster than chess program like houdini which is the fastest chess programmee I have heard.

I love this video
https://www.youtube.com/watch?v=Qc_v9mTfhC8
Magnus Playing With 10 Boards. Blindly
Then How Do He Defeat The Computers And World Champions
Humans play with little calculation, but lots of understanding. Basically memorized positions and logic with some calculation to check the details.
Computers play by applying algorithms which tell them to give value things like the center, or a passed pawn, or an unsafe king. They apply it to millions of positions then pick the move that led to the best position.
Humans beat computers when they can use their knowledge and logic to understand a position. Humans can make very long range plans without need for specific move orders.
Computers don't plan as far ahead because they only look at specific move orders. Computers beat humans when humans make relatively short term mistakes, especially tactics.
Yes you are right shell_knight and I think so that magnus never gets tired.
Yes. Magnus is actually a machine.
Or a machine is actually Magnus.
Either way, they're the same.
How does a program know where to move? I get the "calculating moves" thing when there's checks and takes available, but small moves to improve position seem more like a "princple" than simple math.?.
Since it works, there's obviously some sort of math solution with the highest value being the best move. But I don't understand how they can program that.
All the top players are chess geniuses. I don't know why they're so good, and they probably don't know themselves!
But they all worked very hard too. Right now Magnus is just a little better. Probably a little bit better at everything.
The final goal is to checkmate the King. When you plug in moves and how pieces move, eventually the computer calculates that a side has so and so advantage. With that, a computer takes the move that gives itself the best advantage.
If you want the nits and bits of the program go talk to a programmer.
If you need help, please contact our Help and Support team.
How can they make so accurate moves as how do they know which is right and which is wrong?
Thanks!