Go for Broke

What does the idiom “go for broke” mean?

Definition: risk everything for something that has a big potential reward

Example: I decided to go for broke and ask the homecoming queen out on a date.