Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
export function addScore(): void{
colliedcnt++;
blockCountMessages.text="blocks"+ colliedcnt+"/8";
if(colliedcnt == 8){
StateChange(State.GAMECLEAR);
showMessages("Congratulations!! CLEAR!!Reload to play again");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment