MCPcopy Index your code
hub / github.com/geekcomputers/Python / display_text

Function display_text

Memory_game.py:67–69  ·  view source on GitHub ↗
(text, font, color, x, y)

Source from the content-addressed store, hash-verified

65
66# Fonction pour afficher le texte
67def display_text(text, font, color, x, y):
68 text_surface = font.render(text, True, color)
69 screen.blit(text_surface, (x, y))
70
71
72# Fonction pour dessiner les cartes

Callers 2

draw_cardsFunction · 0.85
Memory_game.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected