Chris Angelico wrote:
> On Tue, Dec 12, 2017 at 5:46 AM, Peter Otten <__pete...@web.de> wrote:
>> You can test for a collision and exit if an asteroid is close to a
>> spaceship with
>>
>> for s in spaceship:
>> for a in asteroid:
>> if calculate_distance(s, a) < 62.5:
>>
On Tue, Dec 12, 2017 at 5:46 AM, Peter Otten <__pete...@web.de> wrote:
> You can test for a collision and exit if an asteroid is close to a spaceship
> with
>
> for s in spaceship:
> for a in asteroid:
> if calculate_distance(s, a) < 62.5:
> print("One of you
Lauren Porter wrote:
> Hello all! I've been trying to create a game in Python Processing where a
> spaceship moves horizontally in order to miss a collision with an
> asteroid. I'm having difficulty making it so that the game quits when an
> asteroid hits the spaceship, could anybody help? Here is
On 12/11/2017 07:27 AM, Dennis Lee Bieber wrote:
> On Sun, 10 Dec 2017 16:05:37 -0800 (PST), Lauren Porter
> declaimed the following:
>
>> Hello all! I've been trying to create a game in Python Processing
Seems like most of the
Lauren Porter wrote:
Hello all! I've been trying to create a game in Python Processing where a
spaceship moves horizontally in order to miss a collision with an asteroid. I'm
having difficulty making it so that the game quits when an asteroid hits the
spaceship, could anybody help? Here is my
Hello all! I've been trying to create a game in Python Processing where a
spaceship moves horizontally in order to miss a collision with an asteroid. I'm
having difficulty making it so that the game quits when an asteroid hits the
spaceship, could anybody help? Here is my code. As you can see, I