Retired

Giving your twitter bot a brain (retired)

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:

More By Author:

Check out these other kata created by tobyfee

Stats:

CreatedJul 11, 2018
Warriors Trained83
Total Skips1
Total Code Submissions197
Total Times Completed55
JavaScript Completions55
Total Stars0
% of votes with a positive feedback rating66% of 41
Total "Very Satisfied" Votes21
Total "Somewhat Satisfied" Votes12
Total "Not Satisfied" Votes8
Total Rank Assessments40
Average Assessed Rank
7 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • tobyfee Avatar
Ad