#ifndef ATTACKS_H
#define ATTACKS_H

#include "global.h"

/*
    data
*/
extern const int rank[144], 
                 file[144], 
                 diagl[144], 
                 diagr[144], 
                 sqcolor[144];

/*
    funcs
*/
int is_attacked (state_s *s, int square, int color);

#endif
