https://github.com/ninest/cards-against-humanity
🃏 Play Cards Against Humanity with your friends in the browser
https://github.com/ninest/cards-against-humanity
Last synced: about 1 year ago
JSON representation
🃏 Play Cards Against Humanity with your friends in the browser
- Host: GitHub
- URL: https://github.com/ninest/cards-against-humanity
- Owner: ninest
- License: agpl-3.0
- Created: 2019-09-03T16:47:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T04:52:20.000Z (over 3 years ago)
- Last Synced: 2025-01-07T14:24:24.548Z (over 1 year ago)
- Language: HTML
- Homepage: http://cah7.glitch.me/host
- Size: 85.9 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cards Against Humanity
> Play CAH directly in your browser with the power of WebRTC
## Play in your browser
*Note: the site is hosted on [Glitch.com](glitch.com). It may take a few seconds to start up.*
1. Ask the host (black card reader) to visit [this link](http://cah7.glitch.me/host)
2. Ask the host to copy and send the link generated
3. The players should automatically connect to the game
Mobile devices recommended
## To do
- [x] Shuffle cards. Currently, all users will get the same hand of white cards. The order of black cards is also the same.
- [ ] Handle disconnected users better.
- [ ] Find a way to "shuffle the deck and distribute cards" throught the sockets. Even when the cards are shuffled, there's a probability that two players get the same white cards. This will be a lot more difficult to fix.
## Built with
- NodeJS + Express
- Socket.IO
- HTML/CSS/JS (no frameworks)
- [JSON Against Humanity](https://www.crhallberg.com/cah/) (Using the base set)
- PeerJS
- Python (to generate arrays for the white and black cards)
## Support development
Download the Brave Browser using [this link](https://brave.com/pjb276)! Download and use it for a month.
It's like Chrome, but faster with built-in ad-blocking.
## License
GNU AGPLv3