#include "Player.h" void Player::addCardToHand(const Card& card) { hand.push_back(card); } void Player::removeCardFromHand(const Card& card) { auto it = std::find(hand.begin(), hand.end(), card); if (it != hand.end()) { hand.erase(it); } } void Player::updateChips(int amount) { chips += amount; } const std::vector& Player::getHand() const { return hand; } int Player::getChips() const { return chips; }