Created
August 30, 2025 14:53
-
-
Save GabrielModog/f13fec320d3980a88ec67d76aa8b6de8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| ) | |
| func main() { | |
| symbols := []string{"๐", "๐", "๐", "๐", "7๏ธโฃ", "๐", "๐", "๐", "๐ฒ"} | |
| fmt.Println("Bem Vindo Ao Jogo Do Bicho") | |
| fmt.Println("\n๐ !!!GIRANDO!!! ๐\n") | |
| for i := 0; i < 50; i++ { | |
| rand_index := []int{ | |
| rand.Intn(len(symbols)), | |
| rand.Intn(len(symbols)), | |
| rand.Intn(len(symbols)), | |
| } | |
| one := symbols[rand_index[0]] | |
| two := symbols[rand_index[1]] | |
| three := symbols[rand_index[2]] | |
| fmt.Printf("\n| %s | %s | %s |\n", one, two, three) | |
| if one == two && two == three { | |
| fmt.Println("๐ฐ\tJACKPOT: Cร GANHOU PARCEIRO!\t๐ฐ") | |
| break | |
| } | |
| if (one == two) || (two == three) || (one == three) { | |
| fmt.Println("๐\tVOCร CONSEGUIU DUAS COMBINAรรES, NADA MAL!\t๐") | |
| break | |
| } | |
| if one != two && two != three && one != three { | |
| fmt.Println("๐ฅน\tInfelizmente nรฃo foi DESSA VEZ\t๐ฅน") | |
| break | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment