Skip to content
Snippets Groups Projects
Commit 4a13ec6d authored by Annika Tolvanen's avatar Annika Tolvanen
Browse files

Delete yatzy.py

parent e6c488c2
No related branches found
No related tags found
No related merge requests found
import random
import yatzy
yatzy.init()
leveys = 600
korkeus = 800
naytto = yatzy.display.set_mode(leveys,korkeus)
yatzy.display.lisaa_otsikko("Yatzy")
aika = yatzy.aika()
kello = 60
#fontti pitää jotenkin ladata ilmeisesti ?
font = yatzy.font.Font('arial', 18)
running = True
while running:
aika.tick(kello)
naytto.fill(backround)
for event in yatzy.event.get():
if even.type == pygame.QUIT:
running = False
yatzy.display.flip()
yatzy.quit()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment