Skip to content

Instantly share code, notes, and snippets.

@GabrielModog
Created August 30, 2025 14:53
Show Gist options
  • Save GabrielModog/f13fec320d3980a88ec67d76aa8b6de8 to your computer and use it in GitHub Desktop.
Save GabrielModog/f13fec320d3980a88ec67d76aa8b6de8 to your computer and use it in GitHub Desktop.
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