Skip to content

Opening book details…

Can I read Stairs Simulation Coding Challenge on EtoBox?

Stairs Simulation Coding Challenge by Sam Zhang (he/him) is a document available to read on EtoBox.

What is Stairs Simulation Coding Challenge about?

People move up the stairs at a rate of 1 step per second. Each second there is a 1 in 10 chance that another person will enter at the bottom. People are represented by colored lines and move until everyone leaves, at which point the simulation ends after pausing 10 seconds. Text can be added to the screen using the pygame font and render methods.

Author
Sam Zhang (he/him)
Language
EN

More by Sam Zhang (he/him)

Browse all works by Sam Zhang (he/him)