BlueBubble 1.0
A recommendation algorithm for movies based on a Netlfix database
|
#include <iostream>
#include <vector>
#include "utilities.h"
#include "coordinates.h"
#include "../pieces/piece.h"
#include "../pieces/pawn.h"
#include "../pieces/bishop.h"
#include "../pieces/knight.h"
#include "../pieces/rook.h"
#include "../pieces/queen.h"
#include "../pieces/king.h"
#include <regex>
#include <string>
#include "config.h"
Go to the source code of this file.
Data Structures | |
class | board |
A class representing the chess board. More... | |
Functions | |
void | print_neutral_endl () |
print a neutral font color and background color new line | |
void | print_line_separator (bool inverted) |
print a line separator with board matching background colors | |
coordinates | get_coord_from_string (std::string move) |
Retrieve coordinates from a string. | |
coordinates get_coord_from_string | ( | std::string | move | ) |
Retrieve coordinates from a string.
move | a string with the pattern "a6" (half a input) |
Definition at line 366 of file board.cc.
void print_line_separator | ( | bool | inverted | ) |
print a line separator with board matching background colors
inverted | indicate if the line is inverted or not. Every even line is inverted to create the chess board |
Definition at line 136 of file board.cc.
void print_neutral_endl | ( | ) |
print a neutral font color and background color new line