fightclub
=========

A sinatra app for a programming competition at Hacker School.

### Installation

To deploy to Heroku:

    heroku create
    git push heroku master

Fight club also requires the Redis Cloud Heroku plugin and a Postgres database to properly deploy to Heroku. You can get small instances of both for free, with these commands:

    heroku addons:add rediscloud
    heroku addons:add heroku-postgresql:dev

For local testing, you can spoof Redis Cloud by creating a local Redis server and running this command before you start the server (replace the port number with your redis' port number):

    export REDISCLOUD_URL="redis://:yourpasswordhere@localhost:6379"

Starting the server on your local machine is as simple as running `foreman start`.

Happy hacking!

fightclub
=========

A sinatra app that simulates a game of mancala, for two bots to play against each other. See [my blog post](http://lord.io/blog/2014/day-8/) for more information about the bot API and other details, or [play an example game](http://hsfightclub.herokuapp.com/mancala) of two random bots on Heroku. 

Includes a 3d visualizer of the game built with three.js, and a backend to manage game state built with Sinatra.

### Installation

To deploy to Heroku:

    heroku create
    git push heroku master

Starting the server on your local machine is as simple as running `foreman start`.

Happy hacking!

Add accurate readme info and blog post link
Add accurate readme info and blog post link
