Cargamoni / ExplodingKittens

Online turn-based card game (2016)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exploding Kittens

Exploding Kittens is an online turn-based card game developed using the Ruby on Rails web framework, based on the card game of the same name published by The Oatmeal.

Installation:

Ruby version used: 2.4.1.

With Ruby installed, install Rails using gem install rails and run bundle install to install all other necessary gems.

Extra steps

If you're on Ubuntu, here are some extra steps you may need:

sudo apt-get install postgresql
sudo su - postgres
service postgresql start
psql -d postgres -U postgres
create database kittens_development;
create user kittens with password 'password1';
export PGHOST=localhost

Then exit the window you're in using Ctrl+D, and switch back to your role with: su - your_username. Then navigate to the ExplodingKittens directory and run: rake db:schema:load.

Running the application

Run rails s to start the application and navigate to localhost:3000 in your browser to view the website. Create an account and you're ready to play! (requires 2 players)

Technologies:

  • Ruby, HTML, CSS, JavaScript
  • Frameworks/Libraries: Ruby on Rails, Bootstrap, jQuery
  • Tools: Git, GitHub, Heroku
  • Gems: PostgreSQL, Devise, Pusher

See more:

Note:

The game was developed strictly for educational purposes. Seeing as the real game's card images (assets) were used, the game is not hosted anywhere online.

About

Online turn-based card game (2016)


Languages

Language:Ruby 63.1%Language:HTML 29.0%Language:CSS 7.3%Language:JavaScript 0.5%Language:CoffeeScript 0.1%