GithubHelp home page GithubHelp logo

ds-oop-review's Introduction

LSDS Object Oriented Programming Review Assignment

Inside the football directory, you will find several files, including a blank __init__.py. Don't worry about that one right now. These files together can model several aspects of a football season including a player's statisctics, an individual football game, and a season.

As is, these modules are fully functional (well, they run without errors). You can generate a season report by running season.py, and you can run the tests using football_test.py.

That being said...

Each file (game.py, players.py, season.py, possible_values.py, and football_test.py) contains at least one TODO inside a comment. That is where you can add things and try them out to see if you're understanding how this is all done.

It makes the most sense to begin with players.py and game.py because they explain the class foundations for the rest of the files (game.py more so--since it is used in season.py).

To run anything here or in your own, edited version, clone the repo and navigate to the football directory in your terminal. If you would like to run the tests or generate a season report, run python filename.py or python3 filename.py depending on your configuration with the appropriate choice of football_test.py or season.py. If you would like to interactively create instances of the Player, Quarterback, Game, or your own, added, classes and run different methods on them, run python or python3 in terminal and import the appropriate module (file name without the .py) on the python shell (when you see >>>, for example).

Originally created by Joanne Jordan for Lambda School's Data Science program https://github.com/jojordan3/LSDS-OOP-assignment

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.