Do you know an iOS app called Pythonista?
Pythonista is a Python environment that runs on iPhone / iPad and has the following functions.
For Pythonista (Python programmer), it's a wonderful environment where you can code anywhere on the train or in the bathroom.
This time, I tried to make a simple game with only Pythonista and iPhone software keyboard.
Flappy bird-style side-scrolling action game
Creation time: About 5 hours on the train
Source code: https://github.com/yukinarit/flappy_alien/blob/master/flappy_alien.py (Just copy and paste to Pythonista and it will work)
Search for Pythonista from the App Store and install it.
Although not required, I used StaSh to code the shell environment and git on my iPhone. This page (http://qiita.com/kido-akira/items/8fbe7783245e3b7d3bac) may be helpful for installing StaSh.
Using StaSh's git to modify the typo and push it to githubI made it using the scene, ui, and sound packages of the Pythonista module.
I used the sound and image resources that are pre-installed in Pythonista.
In this way, you can easily create a game using Pythonista. Personally, I feel great potential as a programming material for children.
Recommended Posts