Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- helloprinny final exam
- exam is any% format.
- do as much or as little as you want.
- DUE: before u play that new xenoblade game
- 1. !music [words] - 20pts
- * take [words] as input (like "snsd beep beep") and return link to first youtube search result
- EXTRA CREDIT (10 points) - Randomly (1/20?) add BONUS words to search like "kpop", "acapella", "airhorn remix"
- 2. !double - 30 points
- * coin count starts at 1.
- * when !double in chat, 1/3 chance to double coins, 1/3 stay the same, 1/3 lose it all (back to 1 the next day).
- * X hour cooldown (24? 12? 8?)
- * same person can't !double within X days (a week?)
- * while in cooldown, print the current amount, last result (i.e. pie lost it all) , and highest all-time score.
- EXTRA CREDIT (20 points): All code for !double is Object Oriented.
- EXTRA CREDIT (20 points): Tweet the result of each day's !double automatically.
- 3. SQL rewrite - 30 points
- * all data is persisted into a database (doesn't matter which; mysql/redis/sqlite/mongoDB are good choices)
- EXTRA CREDIT (20 points): Do this for mysql AND a nosql solution (redis/sqlite/mongoDB)
- PRIZES:
- 60 points - $10 steam game
- 90 points - Wii U or 3DS game
- 130 points - Raspberry Pi starter kit http://amzn.com/B00PWYK2V6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement