#pragma once #include "Player.h" #include #include constexpr auto SIZE = 10; constexpr auto SIZE_FOR_ARRAY = SIZE - 1; class Game { private: char field[SIZE][SIZE]; std::unique_ptr gamers; public: Game() : gamers(std::make_unique(2)) { for (int i = 0; i < SIZE; ++i) { for (int j = 0; j < SIZE; ++j) { field[i][j] = '*'; } } }; void info(); void init(); void play(); private: void clearScreen(); void print_field(); };