On line 66, you forgot to end it with a second
). Tip: If you can't find the issue with the current line in syntax errors, look at the couple of lines before it.
Also later on you have some lines like
dialog("You won 5x your bet!") :
which is wrong (shouldn't have colon)