Giter Club home page Giter Club logo

python-city's Introduction

A collaborative exercise to learn Python and Git

Objective

Build a city! The city will be printed out to the terminal (use python's print() function for this) and will have the following components:

  • School
  • Library
  • Museum
  • Fire Station
  • Police Station
  • Restaurant
  • Park
  • Lake
  • Roads (vertical and horizontal)
  • Hospital

Each team will be responsible for coding one component of the city. Each component is a member of a quarter. The quaters of the city are the following:

  • Education
  • Leisure
  • Outdoors
  • Safety

Once a team has coded their component they will open a Pull Request against this repository. Once all teams in a quarter have submitted their code, they will receive requirements for designing each quarter. Beware this may change the implementation of each component and cross team collaboration will be needed in order to support each other's implementation changes! Teams will then submit their code in the form of a Pull Request to this repository. We will then merge the PRs and print our city!

Running the code

$ python3 city.py

Helpful Resources

Contributing Basics

To contribute to a repository on GitHub, you'll want to first Fork the repository. You can then Clone that fork locally to start making changes. Make sure to add a remote pointing to the repo you forked. Typically this remote is named upstream. To add changes to your fork you must add and commit them. You can then Push these changes to your fork on github and create a Pull Request against the forked repository.

Step by step checklist

  • Fork this repository
  • Clone your fork locally
  • Add a remote called upstream pointing to this repo (https://github.com/gallettilance/python-city or [email protected]:gallettilance/python-city.git)
  • Create and checkout a branch named after the component you are working on
  • Implement your component by editing the relevant file(s)
  • Add and Commit your changes
  • Push these changes to your fork on github
  • Create a Pull Request against this repository.

python-city's People

Contributors

gallettilance 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.