[Tutor] pygame help with livewires

2009-12-02 Thread Skylar Struble
ok so its working and drops a normal cow and randomly a green cow but i want it to be able to tell when you collide with the green cow cause its gonna be a powerup. heres the code for my program. # Pizza Panic # Player must catch falling pizzas before they hit the ground from livewires import ga

[Tutor] ok i need some help with a for loop

2009-10-15 Thread Skylar Struble
ok so im working on a text based rpg game and am trying to get this code to work, items = ['crate', 'grave'] lookwords = ['look', 'examine', 'investigate','open') input1 = raw_input('What do you want to do:') for word in items: for word2 in lookwords: if word and word2 in input1: