rajahafify / ruby-exercise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy

Overview

Write a simple Ruby app that tweets about something of your choice every hour or responds when tweeted at.

We have provided an example rails app here as it facilitates hosting on Heroku, but you are welcome to use any solution in Ruby.

There is no one way to complete this exercise as long as the minimum requirements are met. When you are finished, please send us a pull request of the finished product. A clean Git History (with relevant commit messages) is a bonus.

Your code should be performant and intuitive.

Any questions, please ask.

Notes:

  • There are various twitter API gems available, no need to write your own access.

  • Heroku Scheduler is a simple Heroku add-on for background jobs.

  • The point of this isn't to stress about what to tweet, so some examples are:

    • Find anagrams in others tweets
    • Look for accidental haiku in tweets and reformat then retweet
    • Looks for song lyrics in tweets and posts song names
    • Grabs tweets, puts it through a text-to-speech api and posts a link to the audio
    • Two bots playing chess together.
    • Random words from a dictionary
    • @reply a sample image of a colour if you tweet a hexcode at the bot.
    • Snowball poems
    • Sports results
    • Battleships

About


Languages

Language:Ruby 83.3%Language:HTML 13.8%Language:CSS 1.5%Language:JavaScript 1.4%