Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+1 vote

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

asked in CSC201 Spring 2021 by (8 points)

1 Answer

+1 vote

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

answered by (381 points)

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.


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 ?