daily pastebin goal
28%
SHARE
TWEET

helloprinny final exam

puchiedarcy Nov 30th, 2015 (edited) 76 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top