BlueBubble 1.0
A recommendation algorithm for movies based on a Netlfix database
Loading...
Searching...
No Matches
Data Structures | Enumerations
piece.h File Reference
#include "../system/coordinates.h"
#include "../system/utilities.h"
#include <vector>

Go to the source code of this file.

Data Structures

class  piece
 a generic piece class. white is a boolean indicating the piece's color. legals is a vector indicating all legal movements. has_moved indicate if the piece has already move during this game More...
 

Enumerations

enum  piece_type {
  pawn_type , bishop_type , knight_type , rook_type ,
  queen_type , king_type
}
 Represent a piece type. Undefined for default piece. More...
 

Enumeration Type Documentation

◆ piece_type

enum piece_type

Represent a piece type. Undefined for default piece.

Enumerator
pawn_type 
bishop_type 
knight_type 
rook_type 
queen_type 
king_type 

Definition at line 8 of file piece.h.

@ knight_type
Definition piece.h:8
@ queen_type
Definition piece.h:8
@ king_type
Definition piece.h:8
@ rook_type
Definition piece.h:8
@ pawn_type
Definition piece.h:8
@ bishop_type
Definition piece.h:8