Giter VIP home page Giter VIP logo

refactoring's Introduction

Project 4: Refactoring

Due date: Nov 16, 2021

Objectives:

  • Apply refactoring to two Python games (class_based_pong.py and connect-4.py).

Expectations:

  • This should be a team effort where both teammates sit together and make a list of code smells and general refactoring plan.
  • Proper use of GitHub is expected, each refactoring should go on a branch that is merged once the code has been tested (we mean tested in the general sense, not necessarily TTD or unit testing).
  • Both teammates should contribute to the repository through their accounts. GitHub counts code lines, so I should be able to see how much each person contributes.
  • Good coding practices are expected, write good commit messages.

Submission:

  • Project code should be in a single public repository on GitHub. Please share the repository with me.
  • Create two folders in your repository, one called before where you have the initial code before refactoring, and the other is called after and it contains the refactored code.
  • The Repository should show two collaborators who contributed an approximately equal number of lines of code.
  • The repository should show several commits with appropriate messages from both collaborators. You will be graded based on the quality of your refactoring, GitHub practices, and your teamwork.
  • Each team member should add a link to the GitHub repository for this project in their Google Drive folder.
  • Each team member should fill the team health check document and add it to the project’s Google Drive folder.
  • Each team member should write a report that focuses on their contribution to the project. The report should include:
  1. Abstract: project summary, 250 words or less.

  2. Results: show the outcome of the project.

  3. Contribution: describe your own contribution to the project as specifically as possible (in contrast to what your teammate did).

  4. Extensions

  5. Team experience reflection: a summary of the lessons learned from the team experience (you can include a description of any team issues here).

  6. References

Extension:

For the refactoring extensions below, make sure you have the before and after versions of your code in your repository.

  • Apply refactoring to the file “search_maze_before.py”
  • Apply refactoring to your implementation of Sudoku from CS231.
  • Apply refactoring any code that you wrote previously.
  • Create unit tests for the two games using Pytest and generate a code coverage report.

refactoring's People

Contributors

trevor-yamada avatar mzhou23 avatar nalmadi 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.