Pygame
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Pygame-i është libraria e Python-it për të krijuar lojëra 2D: vizaton figura, lëviz personazhe, luan tinguj dhe lexon tastierën. Është mënyrë argëtuese për të mësuar ciklet, kushtet dhe klasat.
EnglishEN
Pygame is Python's library for making 2D games: it draws shapes, moves characters, plays sounds and reads the keyboard. It's a fun way to learn loops, conditions and classes.
Si ta mendosh
Si një fushë futbolli bosh me top e porta: rregullat e lojës i shpik vetë.
Lexoje në anglisht
Like an empty football pitch with a ball and goals: you invent the rules of the game yourself.
Shembull kodipython
import pygame
pygame.init()
ekrani = pygame.display.set_mode((640, 480))
pygame.draw.circle(ekrani, "red", (320, 240), 30)
pygame.display.flip()