O O O O

O O O O

O O O O

O O O O

The figure above is a 4×4 board used for a certain game. What is the maximum number of squares where a game piece can be placed so that there are no other pieces in the horizontal, vertical, or diagonal path of another piece?

Is there an analytical way to solve this?