Giter Site home page Giter Site logo

soccer-team-oop's Introduction

Soccer Team OOP Project

Scott Yang & Paul Fletes - ACS 1111

This Python-based project is an exercise in exploring Object-Oriented Programming principles.

The classes designed in the project were intended to show basic concepts, and not full functionality within an app. Various object attributes and methods contain elements that one could incorporate in a game-like program that incorporated the use of managing athletes on a fantasty sports team. A better understanding of fantasy soccer can be found here: https://fantasy.mlssoccer.com/#help/game-rules.

Project overview:

Our project was based around the idea of a base Athlete class that can be inherited from to form Coaches and Players for a soccer team. From there, we decided to inherit from the Player class to create Attackers and Defenders. Each class can instantiate example objects with class attributes and methods.

To meet the requirement of one class demonstrating composition, we created the Team class that imports from Player to add players to a team, create a roster and take the field (eventually!)

Demo & Diagram:

Assignment Requirements:

For this assignment you will need to complete the following requirements:

Classes:

  • At least 4 classes are defined.
  • At least 1 class demonstrates composition (being composed of other objects).
  • At least 1 class inherits from another class.
  • All classes are used to instantiate example objects.

Methods:

  • Each class has at least 2 methods that use and/or modify class attributes.
  • The subclass overrides at least one superclass method (this can be init or another method).
  • Rationale about which methods are private, protected, or public should be provided in code comments or verbally during presentation.

Attributes:

  • Each class has a least 2 instance attributes created in init()
  • Rationale about which attributes are private, protected, or public should be provided in code comments or verbally during presentation.

Diagram:

  • A diagram is provided that shows an overview of all the classes that make up the system design
  • Diagram shows relationships between classes.
  • You can achieve this by creating UML Class Diagrams. Here is a template on how to make them, here.

Presentation:

  • 5 - 10 min video presentation that shows off your various classes. Recorded using Quick Time and uploaded to YouTube.

soccer-team-oop's People

Contributors

scottzyang avatar paul-fletes 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.