Giter VIP home page Giter VIP logo

pythonic-garage-band's Introduction

LAB03 - Class 03

Project: Pythonic Garage Band
Author: Benjamin Carter
Links and Resources

Setup
.env requirements : N/A

Collaborators

Roger Wells, Matt Rangle

How to initialize/run your application (where applicable)
e.g. pythonic_garage_band.py
How to use your library (where applicable) N/A
Tests test_pythonic_garage_band.py How do you run tests? pytest in terminal
Any tests of note? test were provided
Describe any tests that you did not complete, skipped, etc

Description

Feature Tasks and Requirements Use Python classes to model a Band made up of different kinds of musicians.

Start with Guitarist,Bassist, and Drummer.

Make use of a Musician base class to handle common functionality which particular kinds of musicians will inherit.

User Acceptance Tests Unit tests will be supplied for this lab. Your job is to make them pass. Do NOT modify the supplied tests (except to enable for stretch goals.)

Band Tests A Band instance should have a name attribute which is a string. A Band instance should have a members attribute which is a list of instances that inherit from Musician base (or super) class. A Band instance should have a play_solos method that asks each member musician to play a solo, in the order they were added to band. A Band instance should have appropriate str and repr methods. A Band should have a class method to_list which returns a list of previously created Band instances Musician Subclass Tests Each kind of Musician instance should have appropriate str and repr methods. Each kind of Musician instance should have a get_instrument method that returns string. Each kind of Musician instance should have a play_solo method that returns string.

pythonic-garage-band's People

Contributors

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