Skip to content

Instantly share code, notes, and snippets.

View ivesomeproblems's full-sized avatar
:atom:

ivesomeproblems

:atom:
View GitHub Profile
def Desider() -> bool:
playerChoise = input("Орел или решка? ").strip().lower()
return playerChoise == "орел"
def IsWin(coin:int, playerChoise:bool):
if coin == playerChoise:
print("Победа!")
else:
print("Поражение!")
extends Area2D
func _on_body_entered(body):
if body.is_in_group("player"):
body._take_damage(20)