Traditional Cards Against Humanity game moved to online experience! App supports a kid friendly version, hence Cards For Humanity
- Each player takes turn to be the Card Czar and plays a Black Card
- Everyone else answers the question by choosing one White card that fills in the blank
- The Card Czar shuffles all of the answers and shares each card combination and then picks a favorite
- Whoever played that answer keeps the Black Card as one Awesome Point
- Player with most points wins.
- It is recommended to use a teleconference software like Zoom to chat.
- Visit game's website 🔗
- Create a new room or join an existing one
- Invite your friends and give them the password to the room. You need at least three players to play.
- Enjoy 😊
- client folder contains frontend related artifacts
yarn serve
runs the applicationyarn build
builds the static resourcesyarn deploy
deploys the static resources to your Github page
- server folder contains backend related files
yarn start
kicks off the server
-
Push server
- If you host the socket.io server with Heroku, follow the following instruction
- Heroku Setup
npm install -g heroku heroku login heroku git:remote -a your-app git subtree push --prefix server heroku master
- FYI since Heroku is no longer free, I would suggest to use Render (https://render.com/)
-
Push client
- Use your preference to host your client app. I chose Github Page for its simplicity.
- Run
yarn build
and thenyarn deploy
- Make sure main.js connects to your server (and not localhost)
- Vue.js
- Socket.io
- Client is built, deployed, and hosted on Github Pages using Github Actions.
- Server is built and deployed on Render.
Card texts are downloaded and parsed from here