This file contains hidden or 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
You can hold up to three powerups that change the type of bullets you shoot. | |
Perhaps they could also change the player's appearance? E.g. fire dude has | |
flaming hair, zap dude's got electricity swirling around him, etc. ? | |
Nothing - boring ol' "Pew Pew Pew" pistol | |
Water - Just a water cannon, bullets affected by gravity. | |
Fire - Light flamethrower | |
Fire Water - Napalm. Perhaps makes the ground all hot and sticks to the | |
floor for a while. | |
This file contains hidden or 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
#Tetris | |
import pygame | |
from pygame import * | |
import time | |
from palikka import Palikka | |
pygame.init() | |
pygame.display.set_caption('Tetris') | |
max_x = 640 |
This file contains hidden or 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
#Palikka luokka | |
import pygame | |
from pygame import * | |
class Palikka: | |
def __init__(self, image, max_x, max_y): | |
self.image = pygame.image.load(image).convert_alpha() | |
self.rect = self.image.get_rect() | |
This file contains hidden or 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
The naming of Faith is a difficult matter. | |
It isn't just one of your holiday games. | |
"Faith Wilson Redden"- no longer the latter, | |
Poor Faith must select from an onslaught of names! | |
"Faith Noodle Wilson"? It has a nice ring. | |
"Faith Woodrif Wilson" is hard on the ears; | |
Many strange looks would "Faith Ganandorf" bring, | |
and friends of "Faith Chip" would be laughing for years! |
This file contains hidden or 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
Compiled by Ben Scripps <[email protected]> - This and others can be found at http://www.fpx.de/fp/Disney/Scripts/ | |
Beauty and the Beast © 1991 Disney. | |
NARRATOR: Once upon a time, in a faraway land, a young prince lived in a | |
shining castle. Although he had everything his heart desired, | |
the prince was spoiled, selfish, and unkind. But then, one | |
winter's night, an old beggar woman came to the castle and | |
offered him a single rose in return for shelter from the bitter | |
cold. Repulsed by her haggard appearance, the prince sneered at | |
the gift and turned the old woman away, but she warned him not |
This file contains hidden or 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
One Queue | |
------ Time: 0 | |
* New customer 0 entered the queue. | |
* Customer 0 has left the queue and entered register 0 | |
Queue: [] | |
Register 0: [0] Register 1: Empty Register 2: Empty | |
------ Time: 1 | |
* New customer 1 entered the queue. |
This file contains hidden or 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/env python | |
#-*- coding:utf-8 -*- | |
import sha | |
import sys | |
# Note: This must be in lower case | |
target = '30b72655c3877e8954c846ba0ff9f0fa78078802' | |
# Uppercase template. | |
template = "8 %s ON AN %s" | |
# Uppercase letters |
This file contains hidden or 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
def ordered_permutations(words=[]): | |
""" | |
Retrun a generator which generates permutations of words chosen from each | |
set in words. | |
This file contains hidden or 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/env python | |
#-*- coding:utf-8 -*- | |
from pprint import pprint | |
import itertools | |
import sys | |
import psyco | |
psyco.full() # Makes things about 30% - 40% faster | |
def display(board): | |
""" Prints a human-readable representation of the board to the screen """ |
This file contains hidden or 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/env python | |
#-*- coding:utf-8 -*- | |
from pprint import pprint | |
import itertools | |
import sys | |
import psyco | |
psyco.full() # Makes things about 30% - 40% faster | |
def display(board): | |
""" Prints a human-readable representation of the board to the screen """ |