From the course: Programming Foundations: Object-Oriented Design
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Jukebox use cases - Python Tutorial
From the course: Programming Foundations: Object-Oriented Design
Solution: Jukebox use cases
- To develop our use cases and user stories for the jukebox challenge, we decided to start with the most common thing you can do with the jukebox. - Play a song. - The primary actor here will be the user, and I decided to format the scenario for this use case as a paragraph. So the system identifies the user. The user browses the library of available albums. They select an album, then browse the songs on that album, and then finally the user selects a song and the jukebox plays it. This may seem like an obvious sequence of events, but taking the time to actually put it down in writing now will make later parts of the design process a lot easier. - For the next use case, let's look at a slightly more complicated scenario, selecting multiple songs to play. I prefer to format my use cases as a list of steps. The first four steps of this use case will have a lot in common with Olivia's use case to play a single song. The…