aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
blob: d99fc68376e25c1f8fb0f44f53145ccb7a38a689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef SRC_MOVES_H_
#define SRC_MOVES_H_

#include "board.hpp"
#include <vector>

std::vector<Move> GetLegalMoves(board *b);
Position IndexToPosition(int i);
void GenerateSlidingMoves(board *b, int from,
                          const std::array<int, 4> &directions,
                          std::vector<Move> &moves);

#endif /* SRC_MOVES_H_ */