import random
def name(params):
A=["🟥","🟦","🟨","⬛️","⬜️"]
B={"🟥":["🟦","⬛️"],
"🟦":["🟨","⬜️"],
"🟨":["🟥","⬛️"],
"⬜️":["🟥","🟨"],
"⬛️":["🟦","⬜️"]}
Q = random.randint(0, len(A)-1)
print(f"{params} VS {A[Q]}")
if A[Q] in B[params]:
print("You Win")
elif A[Q] == params:
print("You draw")
else:
print("You Lose")
name("🟥")
To embed this project on your website, copy the following code and paste it into your website's HTML: