Ipad and Python: make a game

Can I code in python on the ipad?

games on the ipad with python and pythonista
games on the ipad with python and pythonista

Documentation about pythonista

How to use pythonista for twitter API

Yes. There are many apps or that. My favourite is pythonista, it is not free, but it’s great. You can create great apps with it straight on the ipad, you can create GUI and even games. We will start right from there, games.

Background first

# coding: utf-8

from scene import *


class Game(Scene):
    def setup(self):
        self.background_color = "red"


run(Game())

A video about startig a game on the Ipad with pythonista

External links

Video about pythonista in classroom

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.