kevinbongart / cards_against_humanity Goto Github PK
View Code? Open in Web Editor NEWAn unofficial online version of the Cards Against Humanity game.
Home Page: https://www.cardiganshumility.online
License: Other
An unofficial online version of the Cards Against Humanity game.
Home Page: https://www.cardiganshumility.online
License: Other
The command "yarn install" give the following error, anyone offer any advice?
jp@DESKTOP-L4S9AIU:/app/cards_against_humanity$ yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
jp@DESKTOP-L4S9AIU:/app/cards_against_humanity$ sudo yarn install
[sudo] password for jp:
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
This seems to fix the issue
sudo apt-get -o Dpkg::Options::="--force-overwrite" install yarn
Someone who hit back on their browser, and reconnected, was added as a separate player.
If someone was kicked, they shouldn't be able to rejoin though.
hey man!
Great stuff, Im actually doing a similar thing to be able to have a beer and a game with friends in a side-by-side webinar grid.
your game would fit perfectly - best cah clone ive found.
but im having a hard time getting the signalling up and running. i have to manually refresh the page to see the updated changes from db ingame.
Read up on puma and actioncable which looks to be the culprit. Websockets isnt giving any errors, and neither is the console, however it is listening on localhost:3000 and :::1:3000 instead of what im used to.
Im running a very basic nginx reverse proxy to puma and ssl via haproxy on ubuntu 18.04.
Ive tried a whole ton of variations of nginx confs, puma binds and ports.
ruby is completely new to me so any pointers are greatly appreciated and i really wouldnt ask so early but.. beer. isolation..
edit
cable gets stuck at 101 during upgrade. any ideas?
Someone who was disconnected was still in the game and there was no way to remove them.
Sometimes you get an answer you just don't even understand, and it would be great to be able to swap out those cards and get a new one from the deck. :)
I can see full.json has a selection of decks, eg. c-admin, base, base-uk etc.
How do select a different deck, and what is the default deck used?
Instead of sorting by order of who joined the game first, the player list should "rotate" so that the Card Czar is first, then the next czar etc.
Right now, if the Card Czar clicks 'pick a winner', any players who haven't submitted answers yet are prevented from doing so. While this might be on purpose, sometimes it's a mistake and there's no way to re-invite a player to submit an answer after the CC has clicked 'pick a winner'.
A warning notice that 'not all players have submitted answers, are you sure you want to pick a winner?' would probably be enough to 'fix' it...? It just feels like a bug if you're not expecting it.
I have installed Postgres on my local ubuntu box via these instructions.
https://help.ubuntu.com/community/PostgreSQL
I am now at this command.. "bundle exec rails db:create db:migrate db:seed"
I get the following error...
jp@DESKTOP-L4S9AIU:/app/cards_against_humanity$ bundle exec rails db:create db:migrate db:seed FATAL: role "jp" does not exist Couldn't create 'cards_against_humanity_development' database. Please check your configuration. rails aborted! PG::ConnectionBad: FATAL: role "jp" does not exist bin/rails:9:in
Any advice?
jp is my local user.
If a player clicks "spread your cards", they cannot read any card except the top card. They also cannot scroll through the cards or select one to play.
There was an older "spread your cards" variant where each of the player's ten cards was displayed individually and the player could select whichever card they wanted. This worked very well.
It's hard to tell when the Card Czar is picking a winner. This could probably tie in with #26
Game slugs are being generated once when creating a game, but the logic doesn't check that its unique before sending it to the database (which does enforce uniqueness). There is no logic rescuing from a non-unique slug.
A loop should generate a slug, check for uniqueness, attempt to store it and rescue (and retry) if it fails.
Heya,
pushing forward and i see a need for a moderator-ish role. the room creator for example which should get permission to kick other users and force-end rounds. gonna try and edit the schema to add creatorid and see if i cant migrate or whatever its called in ruby.
integrated kick user function, so to prevent trollmayhem it would be great, but ive no idea how to do a pull request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.