The idea is development a soccer simulator of matches for the Russia 2018 World Cup with Python using threads with semaphore. you can selected two teams and see who win the game in 90 seconds.
-
You need to install the pygame library and Python 3.6.1 or greater
- run:
python3 -m pip install pygame --user
- run:
-
then To see if it works, run one of the included examples:
- run:
python3 -m pygame.examples.aliens
- run:
if you have troubles installing pygame go to this link
- Go to the root folder of the project
- Run:
python3 simulator.py
- All done!