Add the Concept of a Song
Closed this issue · 1 comments
gbroques commented
As a user, I want the concept of a song, to be able to play a lot of different songs with Cozmo.
A song is a series of notes.
Each specific song could be a class, that inherits from a abstract base Song
class.
Our init_game_loop(Song song)
function could take in a song as an argument.
Here's what it might look like in Python code:
class MaryHadALittleLamb(Song):
notes = [E, D, C, D, E, E, E, D, D, D, E, E, E, ..., E, D, C]
init_game_loop(MaryHadALittleLamb());