repl.it
@glench/

Repl.it Play Template

Pygame

A simple template for making Python Play projects.

fork
loading
Files
  • main.py
  • character.png
  • nohup.out
  • Packager files
  • requirements.txt
main.py
1
2
3
4
5
6
7
8
9
import play # this is the first line in your program

bot = play.new_image('character.png')

# bot.turn(180)

text = play.new_text('hi!', x=110, y=42)

play.start_program() # this is the last line in your program
?