View on GitHub

Twitterwhack

a game implemented with twitter apis

Download this project as a .zip file Download this project as a tar.gz file

twitterwhack

video links:
https://youtu.be/oAOG6gWDbls
https://youtu.be/-y759sS-lHE (unit test)

given 2 words- word1 and word2
search only word1 and store the number of results to @scores[0]
search only word2 and store the number of results to @scores[1]
search both word1 and word2 and store the number of results to @scores[2]

index-@scores[2]
score-@scores[0]*@scores[0]

Show index and score and a comment according to index.
Show a random tweet that was found by searching both words.