1#ifndef PGN_GAME_STRING_H
2#define PGN_GAME_STRING_H
18 const auto&
get() const noexcept {
return m_pgn_str; }
21 std::string m_pgn_str;
A string that is a PGN notation string of a game.
Definition pgn_game_string.h:14
const auto & get() const noexcept
Definition pgn_game_string.h:18
pgn_game_string get_replay_1_as_pgn_str() noexcept
Definition pgn_game_string.cpp:14
void test_pgn_game_string()
Definition pgn_game_string.cpp:44
pgn_game_string get_scholars_mate_as_pgn_str() noexcept
Get the PGN for a scholar's mate.
Definition pgn_game_string.cpp:19
std::vector< std::string > split_pgn_str(const pgn_game_string &pgn_str)
Split the PGN string into its moves E.g.
Definition pgn_game_string.cpp:24