Traffic Lights is a 2D game that draws inspiration from the popular game Traffix. A friend and I developed this game using the Pygame library as a school IT project. The gameplay is straightforward, challenging players to manage traffic by controlling traffic lights. If you enjoy puzzle games that test your decision-making skills, give "Traffic Lights" a try.
Traffic Lights needs python3 or python2, pygame and tkinter to work.
Window (7/10/11)
You can download python on the microsoft store or the website and install the librairies with pip.
pip install pygame
pip install tk
Linux (debian/ubuntu)
You can download python here or using your package manager (apt, brew...)
sudo apt-get install python3
sudo apt-get install python3-tk
sudo apt-get install python-pygame
MacOS (Homebrew)
You can download python here or using Homebrew.
brew install python
pip install pygame
pip install tk
- To install Traffic Lights, you just have to clone this repository.
Using
Git (All plateforms)
orapt/brew install git
->git clone https://github.com/Pixilie/Traffic_Lights
UsingGithub CLI (Windows)
->gh repo clone Pixilie/Traffic_Lights
UsingGithub Deskstop
-> go here, click on the green code button and clickOpen with Gitub Deskstop
Game based on Traffix, there was no intention to copy or to compete with the real game, it's just a school project. I don't think we will continue to develop the game.
Here are the sources for the different sounds used in the game in order to respect the royalty-free licenses.
- For the musics:
Shine par Onycs
Gaia par Nova Noma
K For Kool par Kuromaru
- For the sounds effects:
Sound Effect from Pixabay