This application consists in a game which is made by 10 tracks, 10 trains and some Hobos. The objective of the game is to stay alive as long as possible. You are going to be the blue square printed on the third lane. When you give the command to start the game, the trains will start to pass through the lanes (tracks) and you and the other hobos are going to jump through tracks when almost hit by the train in the current track. When you ARE hit by a train (either when the train pass and hit you or when you jump to a track which has a train passing) you lose health. When you lose all your health, the game stops. This game is not completed yet, it needs some improvements to the player class, which will be your Hobo.
You will need to install python3 in your machine. Follow the guide provided by https://realpython.com/installing-python/
It is very simple to run this game. Go to the directory created when you downloaded/cloned it from github and just type this in your terminal:
python3 game.py
The only dependency you will need to install is pygame. It is very simple to install it. After you install python3, you will have the "pip" command installed as well. So you will need to run:
For MacOS/Linux/Windows:
python3 -m pip install pygame==2.0.0.dev6