When I ask the player and they chose to play again, the first guess is read as a blank and it moves onto the second guess, this only happens when i play again, not during the first iteration of the game. I tried changing getline to a simple cin and it fixed it, so I’m confused as why getline is causing this.
The first image is using getline, and the second is using a simple cin, where you can see the bug no longer occurs.