Delete main.py
This commit is contained in:
parent
258295e671
commit
e87b3c276a
1 changed files with 0 additions and 22 deletions
22
main.py
22
main.py
|
@ -1,22 +0,0 @@
|
|||
import pygwin
|
||||
import random
|
||||
|
||||
win = pygwin.create(size=(500,500))
|
||||
|
||||
font = pygwin.defaultFont
|
||||
|
||||
run = True
|
||||
while run:
|
||||
for event in pygwin.getEvents():
|
||||
if event.type == pygwin.QUIT:
|
||||
run = False
|
||||
win.fill((255,255,255))
|
||||
|
||||
text = font.render(win.fps, 25, (0,0,0))
|
||||
text = pygwin.image.toString(text)
|
||||
win.blit(text,(0,0))
|
||||
text = pygwin.image.fromString(text)
|
||||
win.blit(text,(0,50))
|
||||
|
||||
win.update(60)
|
||||
pygwin.close()
|
Loading…
Add table
Add a link
Reference in a new issue