Pretendyourexyzzy
Posted : admin On 7/26/2022Recent tweets (mainly server status updates)
Tweets by _PYX_A Cards Against Humanity clone.
Post game links and PYX discussions to share with other redditors! PYX is an online Cards Against Humanity Clone. Pretend You're Xyzzy is a Cards Against Humanity clone, which is available at cardsagainsthumanity.com, where you can buy it or download and print it out yourself. It is distributed under a Creative Commons - Attribution. Pretend You're Xyzzy A Cards Against Humanity clone. This webapp is still in development. There will be bugs, but hopefully they won't affect gameplay very much. If this is your first time playing, you may wish to read the changelog and list of known issues. Your computer's IP address will always be logged when you load the game client. The latest tweets from @pyx.
This webapp is still in development. There will be bugs, but hopefully they won't affect gameplayvery much.
Your computer's IP address will always be logged when you load the game client.It is not tied in any way to your username, except possibly if a server error occurs. Gameplayresults are logged permanently, but without information identifying you.
Recent Changes:
- 3 September 2018:
- All chat and fill-in-the-blank cards have been disabled. If you're still out of the loop,here's why.
Known issues:
- Do not open the game more than once in the same browser. Neither instancewill receive all data from the server, and you will not be able to play. I have an idea on how tofix this, but I haven't had time to do so.
- This game was extensively tested in Google Chrome.It should work in all recent versions of major browsers, but it may not look 100% as intended. Ifyou find a major issue, pleaseopen a bug on GitHub with ascreenshot and the name and version of the browser you are using, and I'll try to fix it.
- You may not always see your card in the top area after you play it, but it has been played.Also, sometimes the card will display in the top area but be small. I have no idea why either ofthese happen.
- If you refresh in the game, an error will pop up in the log briefly before the refreshhappens. It is safe to ignore.
- You may see an error after joining a game. As the error message states, this is safe toignore. I will figure out a way to make this not show up.
- Interface elements may not be perfectly sized and positioned immediately after loading thepage if your window is sufficiently small. Resize the window to fix.
- A player joining the game in progress may have a slightly incorrect representation of thegame state until the next round begins.
- Reloading the page when the winning card is displayed does not display the winning cardagain.
- Played cards seem to blank when someone joins or leaves. You may have to refresh the pageto see the cards again if you're the Card Czar.
Current limitations:
- Support for Black Cards with 'pick' and/or 'draw' annotations is rudimentary. When you playyour cards, it does not group them until the judging starts. Also, when other players play cards,you do not see any progress from them until they have played all 2 or 3 cards, and it only showsa single face-down card for them. I will try to make this look nicer, but it works.
- Also, you cannot un-do your first (or second) card: Once it's played, it's played.
- While judging, only one card will be highlighted. It does not matter which card in a groupyou click, the game will figure it out.
- I know that when you have a lot of players, especially with Pick 2 or Pick 3, it gets veryhard to read, and cards overlap (and underlap) your hand, and are hard to click sometimes.I'll work on this soon. You can resize the window to try to help if you're having problemsfor now.
- You can't bet Awesome Points to play another card, and I am unsure if I will add this.
Future enhancements:
Pretend You're Xyzzy
- There may be an option to display who played every card.
- A registration system and long-term statistics tracking may be added at some point.
If the game seems to be in a weird state, refresh the page and it should take you back to whereyou were. It would be helpful to take a screenshot and include it in anew bug on GitHub along witha general description of the problem and the time that it happened (include a time zone please!).
Pretend You're Xyzzy is a Cards Against Humanity clone, which is available atcardsagainsthumanity.com, where you can buy itor download and print it out yourself. It is distributed under aCreative Commons - Attribution -Noncommercial - Share Alike license. This web version is in no way endorsed or sponsored bycardsagainsthumanity.com. You may download the source code to this version fromGitHub. For full licenseinformation, including information about included libraries, see thefull license information.
GitHub Readme.md
A Cards Against Humanity clone, server and web client. Play on the web (pick one from the list), or from the app.
Deploy
If you want to play with your friends, you can do so in a few minutes by deploying on Heroku. To do so just click the button below, register, follow the instructions and you're done!
Configuration
If you deployed on Heroku, instead of having to change the pyx.properties
file, you can do everything from their website:
- Go to the Heroku dashboard, and select your app
- Select the
Settings
tab and click onReveal Config Vars
- Add your configuration here using the same key names as in the configuration file (e.g. use
pyx.server.max_users
asKEY
and200
asVALUE
) - Restart your app (select
More
nearOpen app
on the top and click onRestart all dynos
) - You're done!
Build
To build this using Maven run mvn clean package
, then execute java -jar target/PYX-jar-with-dependencies.jar
. You can now edit the pyx.properties
file to customize the server.
For GeoIP functions to work, download http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz somewhere, gunzip it, and update the geoip.db value in pyx.properties
to point to it.
Server discovery API
Due to the recent unavailability of the main PYX servers I've implemented the server discovery feature. It allows any server to be discovered by the main API which will then provide a list of available servers for everyone to connect to them.
Pretendyourexyzzy German
By default this feature is disabled. To enable it:
- Find your
pyx.properties
file - Set
pyx.server.discovery_enabled
totrue
- Set
pyx.server.discovery_address
to your external IP address or domain - Set
pyx.server.discovery_port
to the external port+ - (Optional) Set
pyx.server.discovery_metrics
to the metrics base URL - Open the necessary ports on your router/firewall
- Deploy! In a few minutes, if your configuration is correct, your server will appear here.