// UMBC - CMSC 341 - Fall 2024 - Proj1 #include "snakes.h" Snakes::Snakes(){ } Snakes::~Snakes(){ } void Snakes::clear(){ } const Snakes & Snakes::operator=(const Snakes & rhs){ } int Snakes::rollDice(){ } Snakes::Snakes(int boardSize){ } bool Snakes::makeDefaultBoard(int boardSize){ } void Snakes::makeRandomBoard(int boardSize, int numSnakesLadders){ } bool Snakes::play(int dice){ } void Snakes::reStart(){ } void Snakes::dumpBoard(){ if (m_start != nullptr){ int ladderCode, snakeCode; Cell *temp = m_start; cout << "START => "; while(temp != nullptr){ cout << temp->m_cellID; if (temp == m_player1) cout << " (Player 1)"; if (temp == m_player2) cout << " (Player 2)"; if (temp->m_north != nullptr) ladderCode = temp->m_north->m_cellID; else ladderCode = -1; if (temp->m_south != nullptr) snakeCode = temp->m_south->m_cellID; else snakeCode = -1; if (ladderCode != -1 || snakeCode != -1){ cout << " ("; if (ladderCode != -1) cout << "\033[1;32mLadder to: " << ladderCode << "\033[0m";// green text if (snakeCode != -1) cout << "\033[1;31mSnake to: " << snakeCode << "\033[0m";//red text cout << ")"; } cout << " => "; temp = temp->m_next; } cout << "END" << endl; } }