csx773 / Cards-Against-the-Internet

Final project for LHL: online version of Cards Against Humanity game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cards Against Internet

Cards Against Internet, is a clone web application of card game, Cards Against Humanity designed for online play. The user may create the game room with his/her preferences and play the game with their friends!

General game rules

The users get to play as Questioner and Answerer. Questioner gets 3 randomized black question cards, and Answerers get 5 randomized white answer cards. Questioner chooses one question card, and Answerers choose one answer card according to the chosen question. When all answer cards are ready, Questioner chooses one answer card he likes the most and the Answerer with the chosen card gets the points and becomes the next Questioner.

Final Product

1 2 3 4 5 6 7 8 9 10 11

Setup

For this project, we need TWO terminals.

  1. Fork & Clone
  2. In one terminal, cd into react-front-end. Run npm install. Then, run npm start and go to localhost:3000 in your browser.
  3. In the other terminal, cd into rails-back-end. Run bundle install to install the dependencies. Run bin/rake db:setup to create the databases (called rails_project_development by default). Run bin/rails s -b 0.0.0.0 to run the server.
  4. Sign up for an account.
  5. Go to lobby and create the game with your preferences.
  6. Play our game with your friends.
  7. Most importantly, have fun 😎!

Project developers

Chris: https://github.com/csx773 Saul: https://github.com/vgjangsoo Danny: https://github.com/Gimorhee

Dependencies

  • React
  • React Router
  • Bootstrap
  • Postgres
  • Ruby on Rails
  • Actioncable
  • Redis
  • Active_model_serializers
  • Bcrypt

About

Final project for LHL: online version of Cards Against Humanity game


Languages

Language:Ruby 45.4%Language:JavaScript 37.4%Language:CSS 14.4%Language:HTML 2.8%