The second parameter to memset() is a single byte. memset() does not fill the specified area of memory with ints, but with single bytes.
If you want to initialize your board array of ints, you'll have to do it with the same kind of a loop that your test program uses to print its contents.