Skip to content

Latest commit

 

History

History
 
 

01-python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
  • Market
  • Park
  • Lake
  • Roads
  • Hospital
  • Gym
  • Power Plant
  • Mall
  • Trees

Everyone will be responsible for coding at least one component of the city. Each component is a member of a quarter. The quarters of the city are the following:

  • Education
  • Leisure
  • Outdoors
  • Safety
  • Infrastructure

Once you have coded your component open a Pull Request against this repository. You may receive additional implementation requests in the review of your PR.

We will then merge the PRs and print our city!

Running the code

$ python3 city.py

Helpful Resources

Step by step checklist

  • Fork this repository
  • Clone your fork locally
  • Add a remote called upstream pointing to this repo (https://github.com/gallettilance/CS506-Fall2020 or [email protected]:gallettilance/CS506-Fall2020.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.

Addressing Feedback

Once you have created a PR, we will review it and submit feedback. This feedback must be addressed in order for the PR to be merged. In order to address feedback:

  • Locally edit the relevant files on the same branch that you used to create your PR
  • Add your changes
  • Amend your commit
  • Force Push these changes to your fork on github
  • These changes should now be reflected in the PR