How it works
We used a mix of multithreading and object-oriented programming to have trains leave at a certain interval and passengers arriving at stations with a given schedule.
What we learned
We first learned how to use multithreading in order to run multiple functions as the same time. We then familiarized ourselves with Pygame in order to build a visual interface for the core of the simulator.
Challenges
The first challenge we faced is that some of our team members had to familiarise themselves with GitHub in order to be able to collaborate on the project.
The second challenge was to figure out how to write down the case in Python because of everything that needs to happen at the same time.
The third challenge was to learn how to use the PyGame package in order to animate the simulation visually.
Finally, the last challenge was to organize our time in order to complete our project.
Log in or sign up for Devpost to join the conversation.