This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
from random import random,choice | |
from scene import * | |
# An explanation for anyone wondering what this is: this is a game I wrote for | |
# Pythonista for the iPhone on a boring plane ride from Budapest to Muenchen. | |
# The credit for the idea goes to my father, although he apparently doesn't | |
# remember coming up with it. You play as Maxwell's Demon, trying to get all | |
# the balls on the screen on one side of the barrier by manipulating a little | |
# gate. The controls are simple; just tap the screen to toggle the gate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# This script is an modification of the script below. | |
# | |
# | |
# examples/record_demo.py -- demonstrate record extension | |
# |