Building your own Deep Blue IBM Chess Player

In this long post we will build IBM Deep Blue with easy explanation so you will know how it beats the world champion.


First thing first. This is the empty chess box but how we gonna tell the computer how does it look like? Or how the computer will understand our board? Using multi-dimensional array right ?

[
    [0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0]
]

Yes right, In this way we can design the board using multi-demnsional array that include both the verticaly and the horizontal boxs.