Coder Social home page Coder Social logo

pixilie / traffic_lights Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 19.93 MB

Manage traffic by controlling traffic lights to pass all the cars

License: MIT License

Python 100.00%
pygame python video-game 2d-game traffic-light management top-view

traffic_lights's Introduction

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

traffic_lights's People

Contributors

mrnossiom avatar nhitros avatar pixilie avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.