Skip to content

Commit

Permalink
lots more swearing
Browse files Browse the repository at this point in the history
  • Loading branch information
joebain committed Sep 5, 2010
1 parent c5113f7 commit 1f2a5cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions game.py
Expand Up @@ -63,7 +63,7 @@ def init(self):

self.all_words = wrapperpykar.clean_syllables(wrapperpykar.parse_midi(self.filename))

self.all_words = [self.all_words[i] for i in range(6)]
self.all_words = [self.all_words[i] for i in range(30)]
for word in self.all_words:
print "fetching " + word.text
try:
Expand All @@ -85,12 +85,12 @@ def init(self):


word.sound = pygame.mixer.Sound(word.audiofile)
word.sound.set_volume(0.2)
word.sound.set_volume(0.7)

self.get_swears()

def get_swears(self):
for swear in ["fuck", "shit", "balls", "cunt", "dick"]:
for swear in ["fuck", "ass", "balls", "cunt", "dick"]:
word = Word(0, swear)
print "fetching " + word.text
try:
Expand Down Expand Up @@ -163,7 +163,7 @@ def check_words(self, time):
for word in self.all_words:
if (word.time < time - self.error_margin and not word.hit):
word.hit = True
self.display.incorrect(word.column)
self.incorrect(word.column)

def process_input(self):
for event in pygame.event.get():
Expand Down

0 comments on commit 1f2a5cf

Please sign in to comment.