Son aktif 1731086631

Revizyon 9bfc55c292b37c4ac4f01465dc5db034288c4e63

Pyxel-6.py Ham
1import pyxel
2
3pyxel.init(160, 120)
4
5def update():
6 if pyxel.btnp(pyxel.KEY_Q):
7 pyxel.quit()
8
9def draw():
10 pyxel.cls(0)
11 pyxel.rect(10, 10, 20, 20, 11)
12
13pyxel.run(update, draw)