Skip to content

Manage traffic by controlling traffic lights to pass all the cars

License

Notifications You must be signed in to change notification settings

Pixilie/Traffic_Lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Lights

Introduction

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.

Installation

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) or apt/brew install git -> git clone https://github.com/Pixilie/Traffic_Lights
Using Github CLI (Windows) -> gh repo clone Pixilie/Traffic_Lights
Using Github Deskstop -> go here, click on the green code button and click Open with Gitub Deskstop

Credits

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

About

Manage traffic by controlling traffic lights to pass all the cars

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages