Hacker News new | ask | show | jobs
by Glench 2649 days ago
Hey, you should definitely check out Python Play, the games/graphics library @amasad mentioned: https://github.com/replit/play

It's uses similar language and a Scratch-like execution model, so you can do things like this:

    face = play.new_text('^.^', font_size=100)

    @face.when_clicked
    async def do():
        face.words = '*o*'
        await play.timer(seconds=1)
        face.words = '^.^'