How to make game using pygame | Source code in discription | Please subscribe

Опубликовано: 26 Июль 2026
на канале: AmiteshCoder
26
1

Please subscribe my channel.
Topic: How to make game using pygame,

Pygame is module of python by which
we make different game in python.

Source code:

import pygame as py
size = (500,400)
screen = py.display.set_mode(size)
while True:
for ev in py.event.get():
if ev.type == py.MOUSEBUTTONUP:
pos = py.mouse.get_pos()
col = (0,255,255)
py.draw.circle(
screen,col,pos,30,5
)
py.display.update()

Thank you