They Fight Crime!

in category Web

They Fight Crime!

Another personal project - a movie idea generator using the classic they fight crime scenario, but with a humorous twist!

Rather than using a MySQL database like Will-I-Ipsum, They Fight Crime has a generator php script which stores all the sentence parts in arrays. The script is called with AJAX and a new They Fight Crime scenario is generated.

A user had suggested that it would be good to add their own names into the mix so this was added and is done by passing the name/gender variables to the generator script.

View the site!

Twitter Bot

The twitter bot tweets every day at 12pm (run on a CRON job), its script stores the previous 8 days tweets to make sure that it isn't repeating anything in this time.

It loops through to make sure the character count is within limits then creates then tweets what it has created.

Check the twitter bot
They Fight Crime