Re: [Tutor] __init__ argument

2013-03-15 Thread Steven D'Aprano
On 16/03/13 09:46, Joshua Wilkerson wrote: The program keeps telling me that the __init__ in Rock takes two arguments and only one is given. Ideas? Yes. You need to look at the arguments required when you construct a Rock() instance, and compare it to the arguments actually given. [snip ir

Re: [Tutor] __init__ argument

2013-03-15 Thread Dave Angel
On 03/15/2013 06:46 PM, Joshua Wilkerson wrote: The program keeps telling me that the __init__ in Rock takes two arguments and only one is given. Ideas? The point of the game is to dodge falling rocks. Two more appear every time one reaches the bottom of the screen. # Avalanche, a dodging game

[Tutor] __init__ argument

2013-03-15 Thread Joshua Wilkerson
The program keeps telling me that the __init__ in Rock takes two arguments and only one is given. Ideas? The point of the game is to dodge falling rocks. Two more appear every time one reaches the bottom of the screen. # Avalanche, a dodging game # Written by Josh Wilkerson # Dodge falling rocks