Merge branch 'main' of https://git.personal.imadumbass.dog/Brosef/RussianRoulette
This commit is contained in:
25
__main__.py
25
__main__.py
@ -1,3 +1,22 @@
|
|||||||
print("Hello world.")
|
import pygame
|
||||||
print("goodbye world >:3")
|
|
||||||
print("A")
|
screenx = 1280
|
||||||
|
screeny = 720
|
||||||
|
|
||||||
|
pygame.init()
|
||||||
|
screen = pygame.display.set_mode((screenx,screeny))
|
||||||
|
clock = pygame.time.Clock()
|
||||||
|
running = True #you better start running...
|
||||||
|
|
||||||
|
while running:
|
||||||
|
for event in pygame.event.get():
|
||||||
|
if event.type == pygame.QUIT:
|
||||||
|
running = False
|
||||||
|
|
||||||
|
screen.fill("black")
|
||||||
|
|
||||||
|
pygame.display.flip()
|
||||||
|
|
||||||
|
clock.tick(60)
|
||||||
|
|
||||||
|
pygame.quit()
|
||||||
Reference in New Issue
Block a user