file static method

int file(
  1. int i
)

Get file from given square index.

Implementation

static int file(int i) {
  return i & 15;
}