Cards Against Humanity -> Pretend You're Xyzzy
This commit is contained in:
parent
14dbf94b27
commit
2e0168e7ce
2
README
2
README
|
@ -1 +1 @@
|
|||
Cards Against Humanity, server and web client. See WebContent/license.html for full details.
|
||||
Pretend You're Xyzzy, server and web client. See WebContent/license.html for full details.
|
|
@ -39,7 +39,7 @@ HttpSession hSession = request.getSession(true);
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Cards Against Humanity</title>
|
||||
<title>Pretend You're Xyzzy</title>
|
||||
<script type="text/javascript" src="js/jquery-1.7.1.js"></script>
|
||||
<script type="text/javascript" src="js/jquery.cookie.js"></script>
|
||||
<script type="text/javascript" src="js/QTransform.js"></script>
|
||||
|
@ -66,7 +66,7 @@ HttpSession hSession = request.getSession(true);
|
|||
<%--
|
||||
<div id="browser" class="hide">
|
||||
<div id="browser_inner">
|
||||
<p>Cards Against Humanity is known to have graphical glitches in
|
||||
<p>Pretend You're Xyzzy is known to have graphical glitches in
|
||||
<span id="browser_name">$BROWSER_NAME</span>. The game should work,
|
||||
but it looks much better in <a href="http://google.com/chrome/">Google Chrome.</a></p>
|
||||
<p>We will not bug you about this again after you dismiss this dialog.</p>
|
||||
|
@ -76,6 +76,7 @@ HttpSession hSession = request.getSession(true);
|
|||
--%>
|
||||
|
||||
<div id="nickbox">
|
||||
Having trouble logging in? Clear your cache.
|
||||
Nickname: <input type="text" id="nickname" value="" maxlength="30" />
|
||||
<input type="button" id="nicknameconfirm" value="Set" />
|
||||
<span id="nickbox_error" class="error"></span>
|
||||
|
@ -138,7 +139,7 @@ HttpSession hSession = request.getSession(true);
|
|||
</div>
|
||||
<div class="logo_3 logo_element">
|
||||
</div>
|
||||
<div class="logo_text">Cards Against Humanity</div>
|
||||
<div class="logo_text">Pretend You're Xyzzy</div>
|
||||
</div>
|
||||
<div class="card_metadata">
|
||||
<div class="draw hide">DRAW <div class="card_number"></div></div>
|
||||
|
@ -164,7 +165,7 @@ HttpSession hSession = request.getSession(true);
|
|||
</div>
|
||||
<div class="logo_3 logo_element">
|
||||
</div>
|
||||
<div class="logo_text">Cards Against Humanity</div>
|
||||
<div class="logo_text">Pretend You're Xyzzy</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -33,9 +33,12 @@ to, for instance, display the number of connected players.
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Cards Against Humanity</title>
|
||||
<title>Pretend You're Xyzzy</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Pretend You're <dfn style="border-bottom: 1px dotted black"
|
||||
title="Xyzzy is an Artificial Unintelligence bot. You'll be making more sense than him in this game.">
|
||||
Xyzzy</dfn></h1>
|
||||
<p>
|
||||
This webapp is still in development. There will be bugs, but hopefully they won't affect gameplay
|
||||
very much. To assist with development, <strong>all traffic on this server <em>may</em> be
|
||||
|
@ -53,8 +56,8 @@ to, for instance, display the number of connected players.
|
|||
<li>This game was extensively tested in <a href="http://google.com/chrome">Google Chrome</a>.
|
||||
It should work in all recent versions of major browsers, but it may not look 100% as intended. If
|
||||
you find a major issue, please
|
||||
<a href="mailto:ajanata@socialgamer.net?subject=Cards%20Against%20Humanity%20bug">email me</a>
|
||||
with a screenshot and the name and version of the browser you are using, and I'll try to fix it.
|
||||
<a href="mailto:ajanata@socialgamer.net?subject=PYZ%20bug">email me</a> with a screenshot and the
|
||||
name and version of the browser you are using, and I'll try to fix it.
|
||||
<ul>
|
||||
<li>That having been said, the chat area doesn't work right at all in Opera. The game still
|
||||
plays properly, but no log messages work. This is rather low on my to-do list as Opera isn't
|
||||
|
@ -113,16 +116,15 @@ to, for instance, display the number of connected players.
|
|||
<p>
|
||||
If the game seems to be in a weird state, refresh the page and it should take you back to where
|
||||
you were. It would be helpful to take a screenshot and
|
||||
<a href="mailto:ajanata@socialgamer.net?subject=Cards%20Against%20Humanity%20bug">email it to
|
||||
me</a> along with a general description of the problem and the time that it happened (include a
|
||||
time zone please!).
|
||||
<a href="mailto:ajanata@socialgamer.net?subject=PYZ%20bug">email it to me</a> along with a general
|
||||
description of the problem and the time that it happened (include a time zone please!).
|
||||
</p>
|
||||
<p>
|
||||
<input type="button" value="I have read the above; Take me to the game!"
|
||||
onclick="window.location='game.jsp';" />
|
||||
</p>
|
||||
<p>
|
||||
Cards Against Humanity is available at
|
||||
Pretend You're Xyzzy is a Cards Against Humanity clone, which is available at
|
||||
<a href="http://www.cardsagainsthumanity.com/">cardsagainsthumanity.com</a>, where you can buy it
|
||||
or download and print it out yourself. It is distributed under a
|
||||
<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons - Attribution -
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Main application for Cards Against Humanity. This only has to handle the initial nickname
|
||||
* Main application for Pretend You're Xyzzy. This only has to handle the initial nickname
|
||||
* registration, the chat box, the logout button, and resizing the window. It should probably be
|
||||
* split up into multiple files.
|
||||
*
|
||||
|
|
|
@ -275,7 +275,7 @@ cah.card.BlackCard.prototype.setPick = function(pick) {
|
|||
*/
|
||||
cah.card.BlackCard.prototype.updateCardInfo_ = function() {
|
||||
if (this.draw_ != 0 || this.pick_ != 1) {
|
||||
$(".logo_text", this.faceUpElem_).text("CAH");
|
||||
$(".logo_text", this.faceUpElem_).text("PYZ");
|
||||
if (this.draw_ != 0) {
|
||||
$(".draw .card_number", this.faceUpElem_).text(this.draw_);
|
||||
$(".draw", this.faceUpElem_).removeClass("hide");
|
||||
|
@ -290,7 +290,7 @@ cah.card.BlackCard.prototype.updateCardInfo_ = function() {
|
|||
$(".pick", this.faceUpElem_).addClass("hide");
|
||||
}
|
||||
} else {
|
||||
$(".logo_text", this.faceUpElem_).text("Cards Against Humanity");
|
||||
$(".logo_text", this.faceUpElem_).text("Pretend You're Xyzzy");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Cards Against Humanity - License Information</title>
|
||||
<title>Pretend You're Xyzzy - License Information</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Cards Against Humanity game</h1>
|
||||
<h1>Pretend You're Xyzzy game</h1>
|
||||
<p>
|
||||
Cards Against Humanity is available at
|
||||
Pretend You're Xyzzy is a Cards Against Humanity clone, which is available at
|
||||
<a href="http://www.cardsagainsthumanity.com/">cardsagainsthumanity.com</a>, where you can buy
|
||||
it or download and print it out yourself. It is distributed under a <a
|
||||
href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons - Attribution -
|
||||
|
@ -19,7 +19,7 @@
|
|||
</p>
|
||||
<h1>Server and client game logic code.</h1>
|
||||
<p>
|
||||
Cards Against Humanity, Java server and JavaScript client, Copyright © 2012, Andy Janata.
|
||||
Pretend You're Xyzzy, Java server and JavaScript client, Copyright © 2012, Andy Janata.
|
||||
<br />
|
||||
All rights reserved.
|
||||
<br /> <br />
|
||||
|
@ -44,7 +44,7 @@
|
|||
POSSIBILITY OF SUCH DAMAGE.</p>
|
||||
<h1>Card Database</h1>
|
||||
<p>
|
||||
This Cards Against Humanity server stores its card data in a PostgreSQL database. The script to
|
||||
This Pretend You're Xyzzy server stores its card data in a PostgreSQL database. The script to
|
||||
create this database and populate it with the standard Cards Against Humanity cards is licensed
|
||||
under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons -
|
||||
Attribution - Noncommercial - Share Alike license</a>, just like Cards Against Humanity itself.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
-- Cards Against Humanity cards by Andy Janata is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
|
||||
-- Pretend You're Xyzzy cards by Andy Janata is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
|
||||
-- Based on a work at www.cardsagainsthumanity.com.
|
||||
-- For more information, see http://creativecommons.org/licenses/by-nc-sa/3.0/
|
||||
|
||||
|
|
Loading…
Reference in New Issue