Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+2 votes

In the def playGame function, where and how should i use the game speed parameter?

asked in CSC201 Spring 2021 by (1 point)

1 Answer

+1 vote

You could use it to create the envelopes and the dragon.

answered by (1 point)
0

The game speed should at least affect the speed the envelopes move. It is optional whether it also changes the speed that your dragon moves, although that's probably a good idea.

0

I have numEnvelope parameter in a function that I created to return the list of envelopes that needs to be drawn. Shall I add game speed parameter as well and set the speed variable to game speed ?

...