Advertisement
puchiedarcy

helloprinny final exam

Nov 30th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. helloprinny final exam
  2.  
  3. exam is any% format.
  4. do as much or as little as you want.
  5.  
  6. DUE: before u play that new xenoblade game
  7.  
  8. 1. !music [words] - 20pts
  9. * take [words] as input (like "snsd beep beep") and return link to first youtube search result
  10.  
  11. EXTRA CREDIT (10 points) - Randomly (1/20?) add BONUS words to search like "kpop", "acapella", "airhorn remix"
  12.  
  13. 2. !double - 30 points
  14. * coin count starts at 1.
  15. * 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).
  16. * X hour cooldown (24? 12? 8?)
  17. * same person can't !double within X days (a week?)
  18. * while in cooldown, print the current amount, last result (i.e. pie lost it all) , and highest all-time score.
  19.  
  20. EXTRA CREDIT (20 points): All code for !double is Object Oriented.
  21. EXTRA CREDIT (20 points): Tweet the result of each day's !double automatically.
  22.  
  23. 3. SQL rewrite - 30 points
  24. * all data is persisted into a database (doesn't matter which; mysql/redis/sqlite/mongoDB are good choices)
  25.  
  26. EXTRA CREDIT (20 points): Do this for mysql AND a nosql solution (redis/sqlite/mongoDB)
  27.  
  28.  
  29.  
  30. PRIZES:
  31.  
  32. 60 points - $10 steam game
  33. 90 points - Wii U or 3DS game
  34. 130 points - Raspberry Pi starter kit http://amzn.com/B00PWYK2V6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement