#pragma once
#include <array>
#include <string>

enum class Core { negative, zero, positive };
struct Player {
    std::string name = "Demo";
    int hp = 35;
    int potions = 2;
    int gold = 15;
    std::array<bool, 3> cores{{false, false, false}};
};

enum class BattleResult { victory, defeat, escaped };
bool bossUnlocked(const Player& player);
bool buyPotion(Player& player);
void grantCore(Player& player, Core core);
