added BoardWidth and BoardHeight constants