Code not working

I have been scratching my head for the last hour and cannot seem to figure this out.

When I press “Enter,” the “screen” does not clear.

Here is my current code: Copy of my current Code - Google Docs

Here are my current results:




In EndGame you are creating a new variable local to the EndGame function that is destroyed at the closing }. You need to remove the type.

Type Name /*= init*/;

always defines a new variable.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms