@ -1,6 +1,7 @@
#include "Controller.h"
#include <assert.h>
#include <string>
using namespace std;
Controller::Controller()
@ -1,5 +1,6 @@
#include "Game.h"
#include <algorithm>
#include <limits.h>
SnakeGame::SnakeGame()
@ -59,8 +60,9 @@ void SnakeGame::play(void){
play(playerName); //get the player to play the game
cin.clear();
cin.ignore(numeric_limits<streamsize>::max(), '\n');
cout << "Do you want to play again? (yes or no): ";
string ans;