So this is a puzzle game using cool mechanics. When the flag is clicked it doesnt go to the begining you must click r r=restart from begining w a s d to move and the flag.
trevorclaw did not help with the code but he let me use his account at school and i had to remix the project over. I was on his account because the school doesn't have enough Chromebooks so he let me use his and I forgot to sign out of the account.