removed the inclusion of move in piece
This commit is contained in:
parent
9d21141d3c
commit
b1812f1df6
@ -1,7 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../move.hpp"
|
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
@ -29,6 +27,7 @@ inline std::ostream& operator<<(std::ostream& os, const int8_t& i) {
|
|||||||
|
|
||||||
class Board;
|
class Board;
|
||||||
struct Coords;
|
struct Coords;
|
||||||
|
struct Move;
|
||||||
|
|
||||||
std::vector<Move> legal_moves(int8_t, const Board&, const Coords, bool = false);
|
std::vector<Move> legal_moves(int8_t, const Board&, const Coords, bool = false);
|
||||||
std::vector<Move> keep_only_blocking(const std::vector<Move>, const Board&);
|
std::vector<Move> keep_only_blocking(const std::vector<Move>, const Board&);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user