|
app.py
import pyxel
pyxel.init(255, 112, title='bataille', fps=60,quit_key=pyxel.KEY_Q )
def update():
if pyxel.btnp(pyxel.KEY_Q):
pyxel.quit()
def draw():
pyxel.cls(0)
pyxel.run(update, draw)
Description
Documentation
PACKAGES
If your project uses packages, list them bellow (names separated by commas). Packages that can be added are only packages built in Pyodide. Example: numpy,pandas Layout
Packages
If your project uses packages, list them bellow (names separated by commas). Packages that can be added are only packages built in Pyodide.
Example: numpy,pandas File to execute with the public link
PYXEL DOCUMENTATION
|