Retired
Giving your twitter bot a brain (retired)
55tobyfee
Description:
Now that you've hooked up your twitter bot to the Twitter API, you need to give your bot a 'brain' by telling it what to say.
Bad news though: Twitter doesn't like bots on their platform, and their rules recently got even more restrictive.
The Rules
- tweets cannot be more than 180 characters
- you cannot tweet identical text
- tweets must be longer than 1 character
The task
create a function, newTweet, that returns a new, unique string every time it's called. This tweet must always be within the length limitations
hints
This is a fundamentals puzzle rather than a computer science puzzle, so assume that 'never repeats' really means 'very unlikely to repeat the first million times it's called' and not 'will never repeat before the heat death of the universe'
Puzzles
Similar Kata:
Stats:
Created | Jul 11, 2018 |
Warriors Trained | 83 |
Total Skips | 1 |
Total Code Submissions | 197 |
Total Times Completed | 55 |
JavaScript Completions | 55 |
Total Stars | 0 |
% of votes with a positive feedback rating | 66% of 41 |
Total "Very Satisfied" Votes | 21 |
Total "Somewhat Satisfied" Votes | 12 |
Total "Not Satisfied" Votes | 8 |
Total Rank Assessments | 40 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 1 kyu |
Lowest Assessed Rank | 8 kyu |