Forced Quit while Playing Game

I believe I have the code installed correctly and it runs without errors, but when I type in my first word and hit ‘enter’ it does a Forced Quit and closes the game.

Game worked fine until I started adding this lecture.

Has anyone else had this problem?

Here is a picture of my newest code;

I am using Visual Studio 17 RC v4.6

What does PlayGame an GetGuess look like?

Hi @AmyJ
I didnt start with the unreal-course yet, but I think you miss a loop in your main()-function.

int main(){
    bool condition=true;

//here comes your main game loop
    while(condition){
        PrintIntro();
        PlayGame();
        condition=AskToPlayAgain();
    }
    return 0;
} 

Hope that helps.
Chris

1 Like

Privacy & Terms