100 likes | 248 Views
Python Project 1. Web Design. Dancing Robots. You assignment it to make your robot “dance” through the movements you have learned. In the homework section you will find 5 songs. Each song has been cropped to about 1 minute. Your job as a team is to make your robot dance to the song.
E N D
Python Project 1 Web Design
Dancing Robots • You assignment it to make your robot “dance” through the movements you have learned. • In the homework section you will find 5 songs. Each song has been cropped to about 1 minute. Your job as a team is to make your robot dance to the song. • If you want to choose a different song you will: • Get my approval for the song • Crop the song to a minute • Analyze the parts of the song.
Thriller: Song Choices • The songs I have on the web are: • Billie Jean (1:23) – Michael Jackson • I Will Survive (1:14) – Gloria Gaynor • In the Mood (1:04) – Glenn Miller • Thriller (1:13) – Michael Jackson • YMCA (1:15) – Village People • I have analyzed the songs and broken them down into “parts.” For example here’s Thriller:
Project Requirements • You robot is required to dance to the music. • Your program is required to have at least: • At least two functions that perform different moves and a main function to call the other functions. • A loop to control part of the action. • Comments
Rubric • The project is worth 27 points, but you can earn up to 36 points if your dance is creative.
Planning your Program • On the web site you will a breakdown of the 5 songs. • Use this breakdown to divide the song into sections and program the sections. Use the timing of the song. • Create a main program to call the other functions. • Use the function askQuestion(“Go?”) to control when the program starts.
Starting Your Program • Start your program with a simple template: # This is our Dance # Names of Students in Groupfrom myro import *init()# Define functions# Define Main method# Run main methodmain()
Presenting Your Project • Demonstrations of your projects will be Monday May 6th and Tuesday May 7th. • Your project must be complete by the end of class on Tuesday May 3th. We need to keep on schedule!! • Divide the work! Decide on the subroutines and the “length” they need to be and then spit up the coding. Each function should have a comment that tells me the author of that code. I expect each team member to explain to me the code they have written.